1
0
mirror of synced 2024-12-01 02:37:18 +01:00

impr: Removed [Project] prefix from recent project entries

This commit is contained in:
WerWolv 2024-05-19 10:21:30 +02:00
parent ec748f4a64
commit 1e48277566

View File

@ -134,11 +134,9 @@ namespace hex::plugin::builtin::recent {
if (!recentFile.isValid())
continue;
std::string displayName = hex::format("[{}] {}", "hex.ui.common.project"_lang, wolv::util::toUTF8String(projectFileName));
nlohmann::json recentEntry {
{ "type", "project" },
{"displayName", displayName},
{ "displayName", wolv::util::toUTF8String(projectFileName) },
{ "path", wolv::util::toUTF8String(ProjectFile::getPath()) }
};