From d84663a42f1e159f444f69244305df7b83c7734d Mon Sep 17 00:00:00 2001 From: destinyk <destiny.kuehn@student.nmt.edu> Date: Fri, 9 Feb 2024 16:46:58 -0700 Subject: [PATCH] fix sorting bug --- nexus/StationSelectDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/StationSelectDialog.py b/nexus/StationSelectDialog.py index 03a4ac0d..1a1e9ebd 100644 --- a/nexus/StationSelectDialog.py +++ b/nexus/StationSelectDialog.py @@ -39,7 +39,7 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')): rows = set(item.row() for item in self.tableWidget.selectedItems()) self.selected_stations = [] for row in rows: - self.selected_stations.append(self.stations[row]) + self.selected_stations.append(self.stat_map[row]) super().accept() def sort_table(self, column): -- GitLab