Needed to manually call rebuild initially (see #4593 for more details)

svn: r17050
This commit is contained in:
Doug Blank 2011-04-05 20:38:14 +00:00
parent 0f564c43ef
commit 5ac1e99915

View File

@ -108,6 +108,7 @@ class QuickViewGramplet(Gramplet):
self.add_option(list_option) self.add_option(list_option)
type_widget = self.get_option_widget(_("View Type")) type_widget = self.get_option_widget(_("View Type"))
type_widget.value_changed = self.rebuild_option_list type_widget.value_changed = self.rebuild_option_list
self.rebuild_option_list() # call for initial setting
def rebuild_option_list(self): def rebuild_option_list(self):
code_map = {"Person": CATEGORY_QR_PERSON, code_map = {"Person": CATEGORY_QR_PERSON,