Merge pull request #3239 from haykam821/intermediary-errors
Fix Fabric loader error messages being reused for intermediary mappings
This commit is contained in:
commit
3158082b16
@ -357,8 +357,8 @@ void VersionPage::on_actionChange_version_triggered()
|
|||||||
VersionSelectDialog vselect(list.get(), tr("Change %1 version").arg(name), this);
|
VersionSelectDialog vselect(list.get(), tr("Change %1 version").arg(name), this);
|
||||||
if (uid == "net.fabricmc.intermediary")
|
if (uid == "net.fabricmc.intermediary")
|
||||||
{
|
{
|
||||||
vselect.setEmptyString(tr("No Fabric Loader versions are currently available."));
|
vselect.setEmptyString(tr("No intermediary mappings versions are currently available."));
|
||||||
vselect.setEmptyErrorString(tr("Couldn't load or download the Fabric Loader version lists!"));
|
vselect.setEmptyErrorString(tr("Couldn't load or download the intermediary mappings version lists!"));
|
||||||
vselect.setExactFilter(BaseVersionList::ParentVersionRole, m_profile->getComponentVersion("net.minecraft"));
|
vselect.setExactFilter(BaseVersionList::ParentVersionRole, m_profile->getComponentVersion("net.minecraft"));
|
||||||
}
|
}
|
||||||
auto currentVersion = patch->getVersion();
|
auto currentVersion = patch->getVersion();
|
||||||
|
Loading…
Reference in New Issue
Block a user