if mupp is starting without db/dat file list, open the file dialog automatically.

This commit is contained in:
suter_a 2019-07-26 11:29:15 +02:00
parent b68286761a
commit 708b6a6f9e

View File

@ -369,6 +369,10 @@ PmuppGui::PmuppGui( QStringList fln, QWidget *parent, Qt::WindowFlags f )
fCentralWidget->setLayout(fBoxLayout_Main);
setCentralWidget(fCentralWidget);
// in case there is no db/dat file list given open the db/dat file open menu automatically.
if (fln.size() == 0)
fileOpen();
}
//----------------------------------------------------------------------------------------------------