Fixed error in losing options on config of this gramplet

svn: r15210
This commit is contained in:
Doug Blank 2010-04-18 12:25:51 +00:00
parent cc2a9b39fb
commit 54b87d8fc6

View File

@ -119,7 +119,6 @@ class QuickViewGramplet(Gramplet):
"Repository": CATEGORY_QR_REPOSITORY}
qv_option = self.get_option(_("View Type"))
list_option = self.get_option(_("Quick Views"))
list_option.clear()
qv_list = get_quick_report_list(code_map[qv_option.get_value()])
for pdata in qv_list:
list_option.add_item(pdata.id, pdata.name)