mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-15 12:37:45 -04:00
when creating a new project, show main-window afterwards - fixes behaviour when debugging win32-version via WINE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1426 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -396,16 +396,17 @@ int main( int argc, char * * argv )
|
||||
engine::init();
|
||||
|
||||
delete ss;
|
||||
engine::getMainWindow()->showMaximized();
|
||||
|
||||
// we try to load given file
|
||||
if( file_to_load != "" )
|
||||
{
|
||||
engine::getMainWindow()->showMaximized();
|
||||
engine::getSong()->loadProject( file_to_load );
|
||||
}
|
||||
else
|
||||
{
|
||||
engine::getSong()->createNewProject();
|
||||
engine::getMainWindow()->showMaximized();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user