Actually remove instances if they fail to load
This commit is contained in:
parent
549198031d
commit
8d0ff99089
@ -323,7 +323,14 @@ bool OneSixInstance::reloadVersion(QWidget *widgetParent)
|
|||||||
{
|
{
|
||||||
ret = d->vanillaVersion->reload(widgetParent, true);
|
ret = d->vanillaVersion->reload(widgetParent, true);
|
||||||
}
|
}
|
||||||
|
if (ret)
|
||||||
|
{
|
||||||
emit versionReloaded();
|
emit versionReloaded();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
nuke();
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user