Fix Fabric loader error messages being reused for intermediary mappings

This commit is contained in:
haykam821 2020-07-09 12:17:59 -04:00
parent cd57e354fe
commit 90d45d2abf
No known key found for this signature in database
GPG Key ID: 64DE485366941734

View File

@ -357,8 +357,8 @@ void VersionPage::on_actionChange_version_triggered()
VersionSelectDialog vselect(list.get(), tr("Change %1 version").arg(name), this);
if (uid == "net.fabricmc.intermediary")
{
vselect.setEmptyString(tr("No Fabric Loader versions are currently available."));
vselect.setEmptyErrorString(tr("Couldn't load or download the Fabric Loader version lists!"));
vselect.setEmptyString(tr("No intermediary mappings versions are currently available."));
vselect.setEmptyErrorString(tr("Couldn't load or download the intermediary mappings version lists!"));
vselect.setExactFilter(BaseVersionList::ParentVersionRole, m_profile->getComponentVersion("net.minecraft"));
}
auto currentVersion = patch->getVersion();