fix: restrict quilt-mappings versions to MC version

This commit is contained in:
Sefa Eyeoglu 2022-02-20 20:33:13 +01:00
parent 9349232bd4
commit 74cdf5350d
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -395,7 +395,7 @@ void VersionPage::on_actionChange_version_triggered()
return; return;
} }
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" || uid == "org.quiltmc.quilt-mappings")
{ {
vselect.setEmptyString(tr("No intermediary mappings versions are currently available.")); vselect.setEmptyString(tr("No intermediary mappings versions are currently available."));
vselect.setEmptyErrorString(tr("Couldn't load or download the intermediary mappings version lists!")); vselect.setEmptyErrorString(tr("Couldn't load or download the intermediary mappings version lists!"));