From 0b9168994f01fe129e64787d23ac818fc9ecaf4a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 6 Sep 2019 11:17:10 +0800 Subject: [PATCH] Revert "dashboard: Sort TTL moninj channels by name" This reverts commit b3db3ea6fc82099a91f6d0c5c8a680967ac961aa. Closes #1288 --- artiq/dashboard/moninj.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index 3969809c3..5de911826 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -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):