Fix adding a contact person to an object and db autocommit

This commit is contained in:
2025-03-12 15:43:13 +01:00
parent 898d808b1f
commit 773d398f8c
9 changed files with 64 additions and 48 deletions

View File

@@ -27,7 +27,7 @@ class ObjectDAO(QObject):
else:
return None
except mariadb.Error as e:
self.newObjectAdded.emit(False)
self.newObjectAdded.emit(False, None)
print(str(e))
def getObjects(self, criterion, enc_key = None):