1
0

Keep filter after updating the list

This commit is contained in:
Johann Bauer
2017-02-16 17:10:02 +01:00
parent 20ed54c22b
commit ec6ab022e3
7 changed files with 17 additions and 6 deletions

View File

@@ -34,6 +34,8 @@ from util import MyTreeWidget, pr_tooltips, pr_icons
class RequestList(MyTreeWidget):
filter_columns = [0, 1, 2, 3, 4] # Date, Account, Address, Description, Amount
def __init__(self, parent):
MyTreeWidget.__init__(self, parent, self.create_menu, [_('Date'), _('Address'), '', _('Description'), _('Amount'), _('Status')], 3)