mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
fix don't hang the ui for a full version load
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -222,11 +222,12 @@ bool Component::isMoveable()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Component::isVersionChangeable()
|
||||
bool Component::isVersionChangeable(bool wait)
|
||||
{
|
||||
auto list = getVersionList();
|
||||
if (list) {
|
||||
list->waitToLoad();
|
||||
if (wait)
|
||||
list->waitToLoad();
|
||||
return list->count() != 0;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user