Skip to content
Snippets Groups Projects
Commit d84663a4 authored by Destiny Kuehn's avatar Destiny Kuehn Committed by Maeva Pourpoint
Browse files

fix sorting bug

parent 97c6d13b
No related branches found
No related tags found
1 merge request!27Fix to issue 34: Allow user to copy datalogger type, gain and sensor type to other stations
...@@ -39,7 +39,7 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')): ...@@ -39,7 +39,7 @@ class StationSelectDialog(*load_ui('StationSelectDialog.ui')):
rows = set(item.row() for item in self.tableWidget.selectedItems()) rows = set(item.row() for item in self.tableWidget.selectedItems())
self.selected_stations = [] self.selected_stations = []
for row in rows: for row in rows:
self.selected_stations.append(self.stations[row]) self.selected_stations.append(self.stat_map[row])
super().accept() super().accept()
def sort_table(self, column): def sort_table(self, column):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment