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 committed by Peter Surda
parent cae03d66df
commit 9ab9984283

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