Fix showing of page without updating selection in list.

This commit is contained in:
Andrew Resch 2008-03-07 01:45:47 +00:00
parent d7dd5180cf
commit cd2bfe8a62

View File

@ -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