DAQ: fixed bug where order of samples dropped into the queue would occasioanlly be arbitrary.
This commit is contained in:
@@ -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