Merge pull request #1737 from Trial97/fix_ftb_app_import_icon

Fixed FTBApp import icon
This commit is contained in:
Alexandru Ionut Tripon 2023-10-21 07:48:21 +01:00 committed by GitHub
commit f0fd1bd5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ void ImportFTBPage::suggestCurrent()
}
dialog->setSuggestedPack(selected.name, new PackInstallTask(selected));
QString editedLogoName = QString("ftb_%1_%2,jpg").arg(selected.name, selected.id);
QString editedLogoName = QString("ftb_%1_%2.jpg").arg(selected.name, QString::number(selected.id));
dialog->setSuggestedIconFromFile(FS::PathCombine(selected.path, "folder.jpg"), editedLogoName);
}