Load versions on first edit
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
d56d21f928
commit
d94e641900
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user