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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 9b252bd9..5db06963 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -275,7 +275,7 @@ class ReporterDialog():
"Do you really want to send <b>%s</b>?\n" % rowe["item"]), self.window)
if result == gtk.RESPONSE_NO:
row[attributes.index("send")] = False
- if result == gtk.RESPONSE_CANCEL:
+ if result in (gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT):
return False
self.dehydrate()
return True