Skip to content
Snippets Groups Projects

Fix differences from backup database not detected in database editor

Merged Kien Le requested to merge bug-#299-differences_from_backup_database_not_detected into develop
1 file
+ 0
4
Compare changes
  • Side-by-side
  • Inline
@@ -635,10 +635,6 @@ class UiDBInfoDialog(OneWindowAtATimeDialog):
# Primary key is always the first item in a row
backup_rows = [r for r in self.backup_database_rows
if r[0] == curr_row[0]]
if self.need_data_type_choice:
# data type is one of primary keys
backup_rows = [r for r in backup_rows
if r[-1] == curr_row[-1]]
if backup_rows:
# reset function available when there's backup row
backup_row = backup_rows[0]
Loading