Merge pull request #672 from Scrumplex/fix-ftblegacy-pack-version

fix: add version to Legacy FTB packs
This commit is contained in:
Sefa Eyeoglu 2022-05-29 16:10:43 +02:00 committed by GitHub
commit 85ee7fb3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ void Page::suggestCurrent()
return; return;
} }
dialog->setSuggestedPack(selected.name, new PackInstallTask(APPLICATION->network(), selected, selectedVersion)); dialog->setSuggestedPack(selected.name + " " + selectedVersion, new PackInstallTask(APPLICATION->network(), selected, selectedVersion));
QString editedLogoName; QString editedLogoName;
if(selected.logo.toLower().startsWith("ftb")) if(selected.logo.toLower().startsWith("ftb"))
{ {