More work on native gui. Make data editable.

This commit is contained in:
thooge committed 2026-10-29 18:59:21 +01:00
1 parent 5641e1706f
commit 7aa5d2af3b
43 files changed
+2686 -1037

No files matched your search

+6
View File
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: WTFPL
from .dbrecord import DbRecord
from yms.lookup import Table
class Inventory(DbRecord):
@@ -13,3 +14,8 @@ class Inventory(DbRecord):
def __init__(self, db, invid=None):
super().__init__(db, invid)
self.title = _("Inventory({})")
def save(self, commit=True):
super().save()
if commit:
self.conn.commit()