Needed to manually call rebuild initially (see #4593 for more details)
svn: r17051
This commit is contained in:
parent
b9936fb547
commit
ace94f80a7
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user