Actually remove instances if they fail to load

This commit is contained in:
Jan Dalheimer 2014-02-17 17:36:29 +01:00
parent 549198031d
commit 8d0ff99089

View File

@ -323,7 +323,14 @@ bool OneSixInstance::reloadVersion(QWidget *widgetParent)
{ {
ret = d->vanillaVersion->reload(widgetParent, true); ret = d->vanillaVersion->reload(widgetParent, true);
} }
emit versionReloaded(); if (ret)
{
emit versionReloaded();
}
else
{
nuke();
}
return ret; return ret;
} }