mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
impr: Disable some more menu items when they're not useful
This commit is contained in:
@@ -513,7 +513,7 @@ namespace hex::plugin::builtin {
|
||||
if (view->hasViewMenuItemEntry()) {
|
||||
auto &state = view->getWindowOpenState();
|
||||
|
||||
if (ImGui::MenuItem(Lang(view->getUnlocalizedName()), "", &state))
|
||||
if (ImGui::MenuItem(Lang(view->getUnlocalizedName()), "", &state, ImHexApi::Provider::isValid()))
|
||||
view->setWindowJustOpened(state);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user