mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Load versions on first edit
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -321,6 +321,12 @@ bool CoreModFolderPage::shouldDisplay() const
|
||||
|
||||
auto version = inst->getPackProfile();
|
||||
|
||||
ProgressDialog loadDialog(parentWidget());
|
||||
auto update = inst->createUpdateTask(Net::Mode::Offline);
|
||||
if (update) {
|
||||
loadDialog.setSkipButton(true, tr("Abort"));
|
||||
loadDialog.execWithTask(update.get());
|
||||
}
|
||||
if (!version)
|
||||
return true;
|
||||
if (!version->getComponent("net.minecraftforge"))
|
||||
|
Reference in New Issue
Block a user