[change] now the station selector entries are sorted for convience
This commit is contained in:
1 parent
3c4cbff9f3
commit
e554330154
1 file changed
+1
-1
@@ -88,7 +88,7 @@ class ComparisonDialog(QDialog):
|
|||||||
_stats_combobox.setObjectName('stationsComboBox')
|
_stats_combobox.setObjectName('stationsComboBox')
|
||||||
_stats_combobox.setEditable(True)
|
_stats_combobox.setEditable(True)
|
||||||
_stats_combobox.setInsertPolicy(QComboBox.NoInsert)
|
_stats_combobox.setInsertPolicy(QComboBox.NoInsert)
|
||||||
_stats_combobox.addItems(self.stations)
|
_stats_combobox.addItems(sorted(self.stations))
|
||||||
_stats_combobox.editTextChanged.connect(self.prepareplot)
|
_stats_combobox.editTextChanged.connect(self.prepareplot)
|
||||||
self.widgets = _stats_combobox
|
self.widgets = _stats_combobox
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user