ui: Change the provider selector from a dropdown to a tab bar

This commit is contained in:
WerWolv
2022-07-30 21:25:18 +02:00
parent 376cf6e8fa
commit 7a4541dac7
7 changed files with 28 additions and 24 deletions

View File

@@ -45,7 +45,7 @@ namespace hex::plugin::builtin {
bool providerValid = ImHexApi::Provider::isValid();
bool taskRunning = Task::getRunningTaskCount() > 0;
if (ImGui::MenuItem("hex.builtin.menu.file.close"_lang, "", false, providerValid && !taskRunning)) {
if (ImGui::MenuItem("hex.builtin.menu.file.close"_lang, "CTRL + W", false, providerValid && !taskRunning)) {
EventManager::post<EventFileUnloaded>();
ImHexApi::Provider::remove(ImHexApi::Provider::get());
}