Test
This commit is contained in:
@@ -23,8 +23,6 @@ GridLayout
|
||||
editable: true
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 3
|
||||
onEditTextChanged: checkFields()
|
||||
onCurrentTextChanged: checkFields()
|
||||
}
|
||||
|
||||
//// New grid row
|
||||
@@ -234,8 +232,7 @@ GridLayout
|
||||
|
||||
function checkObjectField()
|
||||
{
|
||||
return ((business.editText.trim() || business.currentText.trim()) &&
|
||||
street.text.trim() && houseno.text.trim() &&
|
||||
return (street.text.trim() && houseno.text.trim() &&
|
||||
(postcode.editText.trim() || postcode.currentText.trim()) &&
|
||||
(city.editText.trim() || city.currentText.trim()) &&
|
||||
cleansing.text.trim())
|
||||
|
||||
@@ -21,6 +21,7 @@ class EmployeeModel(QAbstractTableModel):
|
||||
self.__employee_dao.newEmployeeAdded.connect(self.__refreshView)
|
||||
self.__conf = ConfigLoader().getConfig()
|
||||
self.__key = self.__conf['pyqcrm']['ENCRYPTION_KEY']
|
||||
print(self.__key)
|
||||
self.__getData()
|
||||
|
||||
@Slot(dict, bool)
|
||||
|
||||
Reference in New Issue
Block a user