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
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2006-03-05 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
|
||||
* src/core/main_window.cpp:
|
||||
always set to configured-state before showing setup-dialog on first
|
||||
startup
|
||||
|
||||
2006-03-04 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
|
||||
* src/core/engine.cpp:
|
||||
finalize main-window after having mixer to start its audio-devices -
|
||||
fixes crash on first time LMMS is started
|
||||
|
||||
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user