From 80b0a5fe235d752553190f94a6b7240cae84b766 Mon Sep 17 00:00:00 2001 From: Kien Le <kien.le@earthscope.org> Date: Fri, 14 Mar 2025 10:41:20 -0600 Subject: [PATCH] Fix differences from backup database not detected in database editor --- sohstationviewer/view/db_config/db_config_dialog.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sohstationviewer/view/db_config/db_config_dialog.py b/sohstationviewer/view/db_config/db_config_dialog.py index 32aedbdc..22ebf089 100755 --- a/sohstationviewer/view/db_config/db_config_dialog.py +++ b/sohstationviewer/view/db_config/db_config_dialog.py @@ -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] -- GitLab