forked from M-Labs/artiq
Revert "dashboard: Sort TTL moninj channels by name"
This reverts commit b3db3ea6fc
.
Closes #1288
This commit is contained in:
parent
d31f30a436
commit
0b9168994f
@ -20,7 +20,6 @@ class _TTLWidget(QtWidgets.QFrame):
|
||||
self.channel = channel
|
||||
self.set_mode = dm.ttl_set_mode
|
||||
self.force_out = force_out
|
||||
self.title = title
|
||||
|
||||
self.setFrameShape(QtWidgets.QFrame.Box)
|
||||
self.setFrameShadow(QtWidgets.QFrame.Raised)
|
||||
@ -132,7 +131,7 @@ class _TTLWidget(QtWidgets.QFrame):
|
||||
self.programmatic_change = False
|
||||
|
||||
def sort_key(self):
|
||||
return self.title
|
||||
return self.channel
|
||||
|
||||
|
||||
class _SimpleDisplayWidget(QtWidgets.QFrame):
|
||||
|
Loading…
Reference in New Issue
Block a user