From cd2bfe8a6224319900a2ab9ab7c1ba098b0bf305 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 7 Mar 2008 01:45:47 +0000 Subject: [PATCH] Fix showing of page without updating selection in list. --- deluge/ui/gtkui/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index d21c260bb..18c9cdbd1 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -169,7 +169,7 @@ class Preferences(component.Component): if page != None: for (index, string) in self.liststore: if page == string: - self.notebook.set_current_page(index) + self.treeview.get_selection().select_path(index) break # Update the preferences dialog to reflect current config settings