Order reverse
Disabled addresses should go at the end, not at the beginning.
This commit is contained in:
parent
92a30a5f66
commit
f4841bd2ef
|
@ -189,7 +189,7 @@ def address_compare(x, y):
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
else:
|
else:
|
||||||
return (1 if shared.config.getboolean(x, 'enabled') else -1)
|
return (-1 if shared.config.getboolean(x, 'enabled') else 1)
|
||||||
|
|
||||||
class MyForm(QtGui.QMainWindow):
|
class MyForm(QtGui.QMainWindow):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user