Order reverse

Disabled addresses should go at the end, not at the beginning.
This commit is contained in:
mailchuck 2015-10-01 10:12:01 +02:00
parent 92a30a5f66
commit f4841bd2ef

View File

@ -189,7 +189,7 @@ def address_compare(x, y):
else:
return 0
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):