Fixed error in losing options on config of this gramplet
svn: r15210
This commit is contained in:
parent
cc2a9b39fb
commit
54b87d8fc6
@ -119,7 +119,6 @@ class QuickViewGramplet(Gramplet):
|
|||||||
"Repository": CATEGORY_QR_REPOSITORY}
|
"Repository": CATEGORY_QR_REPOSITORY}
|
||||||
qv_option = self.get_option(_("View Type"))
|
qv_option = self.get_option(_("View Type"))
|
||||||
list_option = self.get_option(_("Quick Views"))
|
list_option = self.get_option(_("Quick Views"))
|
||||||
list_option.clear()
|
|
||||||
qv_list = get_quick_report_list(code_map[qv_option.get_value()])
|
qv_list = get_quick_report_list(code_map[qv_option.get_value()])
|
||||||
for pdata in qv_list:
|
for pdata in qv_list:
|
||||||
list_option.add_item(pdata.id, pdata.name)
|
list_option.add_item(pdata.id, pdata.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user