Order reverse
Disabled addresses should go at the end, not at the beginning.
This commit is contained in:
parent
cae03d66df
commit
9ab9984283
|
@ -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