DAQ: fixed bug where order of samples dropped into the queue would occasioanlly be arbitrary.
This commit is contained in:
1 parent
092cf6593f
commit
174881d160
1 file changed
+1
-1
@@ -137,7 +137,7 @@ class UserSampleSpreadsheet(QAbstractTableModel):
|
||||
|
||||
l = SampleShortInfoList(s=[])
|
||||
|
||||
for i in set(index.row() for index in indexes):
|
||||
for i in sorted(set(index.row() for index in indexes)):
|
||||
l.s.append(self.__sorted_samples[i])
|
||||
|
||||
mime_data.setText(l.model_dump_json())
|
||||
|
||||
Reference in new issue
Block a user