Skip to content

Commit 4a8ddb2

Browse files
authored
Merge pull request #1938 from HEXRD/sort-detector-names
Sort detector names in the load images dialog
2 parents c00f3fa + 62f59fe commit 4a8ddb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hexrdgui/load_images_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def setup_standard_table(self, table):
104104
for i in range(table.rowCount()):
105105
if self.manual_assign:
106106
det_cb = QComboBox()
107-
det_cb.addItems(list(set(self.detectors)))
107+
det_cb.addItems(sorted(list(set(self.detectors))))
108108
table.setCellWidget(i, 0, det_cb)
109109
table.cellWidget(i, 0).currentTextChanged.connect(
110110
lambda v, i=i: self.selection_changed(v, i))

0 commit comments

Comments
 (0)