mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
impr: Added icons to more context menus
This commit is contained in:
@@ -317,7 +317,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
static void drawProviderContextMenu(prv::Provider *provider) {
|
||||
for (const auto &menuEntry : provider->getMenuEntries()) {
|
||||
if (ImGui::MenuItem(menuEntry.name.c_str())) {
|
||||
if (ImGui::MenuItemEx(menuEntry.name.c_str(), menuEntry.icon)) {
|
||||
menuEntry.callback();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user