mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-25 18:59:38 +00:00
[#2467|GTKUI] Fix prefs tabs sync adding/removing page
This commit is contained in:
parent
f30f421f50
commit
7e9a8b801c
@ -92,6 +92,8 @@ class Preferences(component.Component):
|
|||||||
if model.get_value(_iter, 1) == '_separator_':
|
if model.get_value(_iter, 1) == '_separator_':
|
||||||
return True
|
return True
|
||||||
self.treeview.set_row_separator_func(set_separator, None)
|
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
|
# Setup accounts tab lisview
|
||||||
self.accounts_levels_mapping = None
|
self.accounts_levels_mapping = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user