From 1dd85ced01e32155aa8cfe38db98412d843daabe Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 18 Apr 2010 12:59:40 +0000 Subject: [PATCH] Fixed error in losing options on config of this gramplet svn: r15214 --- src/plugins/gramplet/QuickViewGramplet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/gramplet/QuickViewGramplet.py b/src/plugins/gramplet/QuickViewGramplet.py index 2b4db1f29..8e4b07b9a 100644 --- a/src/plugins/gramplet/QuickViewGramplet.py +++ b/src/plugins/gramplet/QuickViewGramplet.py @@ -119,8 +119,8 @@ class QuickViewGramplet(Gramplet): "Repository": CATEGORY_QR_REPOSITORY} qv_option = self.get_option(_("View Type")) list_option = self.get_option(_("Quick Views")) - qv_list = get_quick_report_list(code_map[qv_option.get_value()]) 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)