mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Pattern editor shortcuts applying when text input in pattern data view is selected
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user