Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SynthLab
diff options
context:
space:
mode:
Diffstat (limited to 'SynthLab')
-rw-r--r--SynthLab/SynthLabWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py
index a8e1ee2..d0ec415 100644
--- a/SynthLab/SynthLabWindow.py
+++ b/SynthLab/SynthLabWindow.py
@@ -276,7 +276,8 @@ class SynthLabWindow(SubActivity):
def handleClose( self, widget, data ):
if self.journalCalled:
- gtk.main_quit()
+ self.set_mode('quit')
+ return
if self.instanceOpen:
self.synthLabParametersWindow.destroy()
self.set_mode('welcome')