mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 18:36:58 +03:00
Fix version select dialog filtering
This commit is contained in:
parent
de48f102bd
commit
0902fd5bec
5 changed files with 13 additions and 19 deletions
|
|
@ -222,7 +222,7 @@ void OneSixModEditDialog::on_forgeBtn_clicked()
|
|||
reloadInstanceVersion();
|
||||
}
|
||||
VersionSelectDialog vselect(MMC->forgelist().get(), tr("Select Forge version"), this);
|
||||
vselect.setFilter(1, m_inst->currentVersionId());
|
||||
vselect.setExactFilter(1, m_inst->currentVersionId());
|
||||
vselect.setEmptyString(tr("No Forge versions are currently available for Minecraft ") +
|
||||
m_inst->currentVersionId());
|
||||
if (vselect.exec() && vselect.selectedVersion())
|
||||
|
|
@ -258,7 +258,7 @@ void OneSixModEditDialog::on_liteloaderBtn_clicked()
|
|||
}
|
||||
VersionSelectDialog vselect(MMC->liteloaderlist().get(), tr("Select LiteLoader version"),
|
||||
this);
|
||||
vselect.setFilter(1, m_inst->currentVersionId());
|
||||
vselect.setExactFilter(1, m_inst->currentVersionId());
|
||||
vselect.setEmptyString(tr("No LiteLoader versions are currently available for Minecraft ") +
|
||||
m_inst->currentVersionId());
|
||||
if (vselect.exec() && vselect.selectedVersion())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue