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

@@ -35,6 +35,7 @@ from util import MyTreeWidget, pr_tooltips, pr_icons
class ContactList(MyTreeWidget):
filter_columns = [0, 1] # Key, Value
def __init__(self, parent):
MyTreeWidget.__init__(self, parent, self.create_menu, [_('Name'), _('Address')], 0, [0])