slightly improved call-up of mupp from musredit. If cancelling the db-dialog mupp will quit, but only at startup.
This commit is contained in:
parent
ca5bbbe1e0
commit
af5a6e37d1
@ -371,8 +371,12 @@ PmuppGui::PmuppGui( QStringList fln, QWidget *parent, Qt::WindowFlags f )
|
||||
setCentralWidget(fCentralWidget);
|
||||
|
||||
// in case there is no db/dat file list given open the db/dat file open menu automatically.
|
||||
if (fln.size() == 0)
|
||||
if (fln.size() == 0) {
|
||||
fileOpen();
|
||||
if (fParamDataHandler->GetNoOfCollections() == 0) { // file open dialog has been cancelled
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user