changeset 344:ccc55539e066

If the user cancels the first startup dialog (it has no cancel button, but they could use the WM close button), go no further
author Chris Cannam
date Wed, 16 Mar 2011 10:25:06 +0000
parents 435b6f0b6eeb
children 98cf46fb74c1
files mainwindow.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mainwindow.cpp	Tue Mar 15 13:06:57 2011 +0000
+++ b/mainwindow.cpp	Wed Mar 16 10:25:06 2011 +0000
@@ -1042,6 +1042,7 @@
 {
     StartupDialog *dlg = new StartupDialog(this);
     if (dlg->exec()) m_firstStart = false;
+    else exit(0);
 }
 
 void MainWindow::open()