Tables: Skip table undo commands when data is unchanged (avoid data duplicates in db)

This commit is contained in:
Dylan Jeannin committed 2026-05-26 12:27:41 +02:00
1 parent c44597dfbd
commit 09997a0074
31 files changed
+120

No files matched your search

+3
View File
@@ -79,6 +79,9 @@ class TableModel(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()