mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Shortcuts displayed in main menu not matching actual shortcuts
This commit is contained in:
@@ -381,7 +381,8 @@ namespace hex::plugin::builtin {
|
|||||||
toolbarIndex
|
toolbarIndex
|
||||||
] = menuItem;
|
] = menuItem;
|
||||||
|
|
||||||
createNestedMenu(unlocalizedNames | std::views::drop(1), icon.glyph.c_str(), shortcut, view, callback, enabledCallback, selectedCallback);
|
Shortcut changedShortcut = ShortcutManager::getShortcutByName(unlocalizedNames, view);
|
||||||
|
createNestedMenu(unlocalizedNames | std::views::drop(1), icon.glyph.c_str(), changedShortcut, view, callback, enabledCallback, selectedCallback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user