[#2467|GTKUI] Fix prefs tabs sync adding/removing page

This commit is contained in:
Calum Lind 2017-06-09 11:07:34 +01:00
parent f30f421f50
commit 7e9a8b801c

View File

@ -92,6 +92,8 @@ class Preferences(component.Component):
if model.get_value(_iter, 1) == '_separator_':
return True
self.treeview.set_row_separator_func(set_separator, None)
# Add a dummy notebook page to keep indexing synced with liststore.
self.notebook.append_page(gtk.HSeparator())
# Setup accounts tab lisview
self.accounts_levels_mapping = None