feat: remove `View` suffix for view menu

This commit is contained in:
xtex 2021-09-21 09:31:23 +08:00
parent f5a9e8b354
commit 33df4e521f
No known key found for this signature in database
GPG Key ID: 978F2E760D9DB0EB
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ namespace hex {
if (ImGui::BeginMenu("hex.menu.view"_lang)) {
for (auto &view : ContentRegistry::Views::getEntries()) {
if (view->hasViewMenuItemEntry())
ImGui::MenuItem((LangEntry(view->getUnlocalizedName()) + " " + "hex.menu.view"_lang).c_str(), "", &view->getWindowOpenState());
ImGui::MenuItem(LangEntry(view->getUnlocalizedName()), "", &view->getWindowOpenState());
}
ImGui::EndMenu();
}