impr: Removed [Project]
prefix from recent project entries
This commit is contained in:
parent
ec748f4a64
commit
1e48277566
@ -134,12 +134,10 @@ namespace hex::plugin::builtin::recent {
|
|||||||
if (!recentFile.isValid())
|
if (!recentFile.isValid())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
std::string displayName = hex::format("[{}] {}", "hex.ui.common.project"_lang, wolv::util::toUTF8String(projectFileName));
|
|
||||||
|
|
||||||
nlohmann::json recentEntry {
|
nlohmann::json recentEntry {
|
||||||
{"type", "project"},
|
{ "type", "project" },
|
||||||
{"displayName", displayName},
|
{ "displayName", wolv::util::toUTF8String(projectFileName) },
|
||||||
{"path", wolv::util::toUTF8String(ProjectFile::getPath())}
|
{ "path", wolv::util::toUTF8String(ProjectFile::getPath()) }
|
||||||
};
|
};
|
||||||
|
|
||||||
recentFile.writeString(recentEntry.dump(4));
|
recentFile.writeString(recentEntry.dump(4));
|
||||||
|
Loading…
Reference in New Issue
Block a user