GH-866 load instance profile on launch and from version page
This commit is contained in:
@ -1736,6 +1736,12 @@ void MainWindow::launchInstance(InstancePtr instance, AuthSessionPtr session,
|
||||
|
||||
QString launchScript;
|
||||
|
||||
if(!instance->reload())
|
||||
{
|
||||
QMessageBox::critical(this, tr("Error"), tr("Couldn't load the instance profile."));
|
||||
return;
|
||||
}
|
||||
|
||||
BaseProcess *proc = instance->prepareForLaunch(session);
|
||||
if (!proc)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user