From aeb46d036cc7f1b470a18613713d67239f1fec96 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 5 Mar 2006 00:44:09 +0000 Subject: [PATCH] show setup-dialog only on first startup git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@98 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 6 ++++++ src/core/main_window.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b17d81b63..2f559ad97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-03-05 Tobias Doerffel + * src/core/main_window.cpp: + always set to configured-state before showing setup-dialog on first + startup + +2006-03-04 Tobias Doerffel + * src/core/engine.cpp: finalize main-window after having mixer to start its audio-devices - fixes crash on first time LMMS is started diff --git a/src/core/main_window.cpp b/src/core/main_window.cpp index 25139f17c..fb7c682f1 100644 --- a/src/core/main_window.cpp +++ b/src/core/main_window.cpp @@ -504,10 +504,10 @@ void mainWindow::finalize( void ) // setup-dialog opened before? if( !configManager::inst()->value( "app", "configured" ).toInt() ) { + configManager::inst()->setValue( "app", "configured", "1" ); // no, so show it that user can setup everything setupDialog sd( eng() ); sd.exec(); - configManager::inst()->setValue( "app", "configured", "1" ); } // look whether mixer could use a audio-interface beside audioDummy else if( eng()->getMixer()->audioDevName() == audioDummy::name() )