fix: Pattern editor shortcuts applying when text input in pattern data view is selected

This commit is contained in:
WerWolv
2026-03-09 10:46:47 +01:00
parent 72e177aafc
commit 6f83b050cd

View File

@@ -1948,6 +1948,9 @@ namespace hex::plugin::builtin {
}
ui::TextEditor *ViewPatternEditor::getEditorFromFocusedWindow() {
if (!this->isFocused())
return nullptr;
auto provider = ImHexApi::Provider::get();
if (provider != nullptr) {
if (m_focusedSubWindowName.contains(ConsoleView)) {