ui: Added "Quit ImHex" option to File menu

This commit is contained in:
WerWolv
2021-09-10 21:48:51 +02:00
parent b3d102419b
commit 36f51c427b
4 changed files with 7 additions and 0 deletions

View File

@@ -421,6 +421,10 @@ namespace hex {
SharedData::currentProvider = nullptr;
}
if (ImGui::MenuItem("hex.view.hexeditor.menu.file.quit"_lang, "", false)) {
ImHexApi::Common::closeImHex();
}
ImGui::Separator();
if (ImGui::MenuItem("hex.view.hexeditor.menu.file.open_project"_lang, "")) {