Fixed loading of saved vouchers.

This commit is contained in:
2023-06-05 22:31:59 +02:00
parent de2bab90de
commit 12dd6ddba0
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ public:
pSession = ptrSession.data();
}
*pSession += qx::dao::delete_by_id(entity);
*pSession += qx::dao::delete_by_id(entity, pSession->database());
if (!pSession->isValid()) {
qDebug() << pSession->firstError().text();