impr: Allow data inspector shortcuts to work when hex editor is selected

This commit is contained in:
WerWolv
2026-03-13 21:11:10 +01:00
parent 27935b1234
commit a4af283a37

View File

@@ -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: