mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
impr: Allow data inspector shortcuts to work when hex editor is selected
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "hex/api/content_registry/views.hpp"
|
||||
|
||||
#include <hex/ui/view.hpp>
|
||||
|
||||
#include <ui/hex_editor.hpp>
|
||||
@@ -42,6 +44,10 @@ namespace hex::plugin::builtin {
|
||||
m_hexEditor.jumpIfOffScreen();
|
||||
}
|
||||
|
||||
View* getMenuItemInheritView() const override {
|
||||
return ContentRegistry::Views::getViewByName("hex.builtin.view.data_inspector.name");
|
||||
}
|
||||
|
||||
public:
|
||||
class Popup {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user