Fixed error in losing options on config of this gramplet
svn: r15214
This commit is contained in:
parent
d42b3f870c
commit
1dd85ced01
@ -119,8 +119,8 @@ 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"))
|
||||||
qv_list = get_quick_report_list(code_map[qv_option.get_value()])
|
|
||||||
list_option.clear()
|
list_option.clear()
|
||||||
|
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…
Reference in New Issue
Block a user