mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
start core update task only if not running already
This line crashes develop builds because the task is running already. Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
e7382fd43d
commit
bc6a6e959b
1 changed files with 3 additions and 1 deletions
|
|
@ -376,7 +376,9 @@ CoreModFolderPage::CoreModFolderPage(BaseInstance* inst, ModFolderModel* mods, Q
|
|||
m_container->refreshContainer();
|
||||
}
|
||||
});
|
||||
update->start();
|
||||
if (!update->isRunning()) {
|
||||
update->start();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue