Needed to manually call rebuild initially (see #4593 for more details)
svn: r17050
This commit is contained in:
parent
0f564c43ef
commit
5ac1e99915
@ -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