summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCReporterDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui/CCReporterDialog.py')
-rw-r--r--src/Gui/CCReporterDialog.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 84254846..8e86ee4c 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -121,8 +121,11 @@ class ReporterDialog():
response = ui.run()
if response == gtk.RESPONSE_APPLY:
ui.dehydrate()
- plugin.save_settings()
if plugin.Settings.check():
+ try:
+ plugin.save_settings()
+ except Exception, e:
+ gui_error_message(_("Can't save plugin settings:\n %s" % e))
box = image.get_parent()
im = gtk.Image()
im.set_from_stock(gtk.STOCK_APPLY, gtk.ICON_SIZE_MENU)