fix: Open File shortcut only working when Hex Editor view is selected
Fixes #576
This commit is contained in:
parent
a57fa34f82
commit
315109aa1f
@ -1222,7 +1222,7 @@ namespace hex::plugin::builtin {
|
||||
});
|
||||
|
||||
// Open file
|
||||
ShortcutManager::addShortcut(this, CTRL + Keys::O, [] {
|
||||
ShortcutManager::addGlobalShortcut(CTRL + Keys::O, [] {
|
||||
fs::openFileBrowser(fs::DialogMode::Open, {}, [](const auto &path) {
|
||||
EventManager::post<RequestOpenFile>(path);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user