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