[change] now the station selector entries are sorted for convience

This commit is contained in:
Sebastian Wehling-Benatelli 2016-06-14 15:03:13 +02:00
parent 3c4cbff9f3
commit e554330154

View File

@ -88,7 +88,7 @@ class ComparisonDialog(QDialog):
_stats_combobox.setObjectName('stationsComboBox')
_stats_combobox.setEditable(True)
_stats_combobox.setInsertPolicy(QComboBox.NoInsert)
_stats_combobox.addItems(self.stations)
_stats_combobox.addItems(sorted(self.stations))
_stats_combobox.editTextChanged.connect(self.prepareplot)
self.widgets = _stats_combobox