Revert "dashboard: Sort TTL moninj channels by name"

This reverts commit b3db3ea6fc.

Closes #1288
This commit is contained in:
Sebastien Bourdeauducq 2019-09-06 11:17:10 +08:00
parent d31f30a436
commit 0b9168994f
1 changed files with 1 additions and 2 deletions

View File

@ -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):