# HG changeset patch # User Chris Cannam # Date 1290025260 0 # Node ID 7b1b333acf93b8a977ab875a5b21b6298c4cbae5 # Parent 794db9353c7ff00930bcbde586e74a6b99e6b44d * Don't switch off firstStart unless user has actually OK'd the dialog (they might have closed it via WM button) diff -r 794db9353c7f -r 7b1b333acf93 mainwindow.cpp --- a/mainwindow.cpp Wed Nov 17 17:49:16 2010 +0000 +++ b/mainwindow.cpp Wed Nov 17 20:21:00 2010 +0000 @@ -71,7 +71,6 @@ if (firstStart) { startupDialog(); - firstStart = false; } ColourSet *cs = ColourSet::instance(); @@ -691,7 +690,7 @@ void MainWindow::startupDialog() { StartupDialog *dlg = new StartupDialog(this); - dlg->exec(); + if (dlg->exec()) firstStart = false; }