mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Tables: Skip table undo commands when data is unchanged (avoid data duplicates in db)
This commit is contained in:
1 parent
c44597dfbd
commit
09997a0074
31 files changed
+120
No files matched your search
@@ -174,6 +174,9 @@ class D90TableModel(PamhyrTableModel):
|
||||
if not index.isValid() or role != Qt.EditRole:
|
||||
return False
|
||||
|
||||
if self.is_same_data(index, value):
|
||||
return False
|
||||
|
||||
row = index.row()
|
||||
column = index.column()
|
||||
|
||||
|
||||
Reference in new issue
Block a user