mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Set input as handled when processing shortcuts in BaseButton.
This fixes the issue when the script editor tab is active and the scene tree editor is focused, a ctrl+a press both opens the new Node popup and selects all text in the script editor. Doesn't seem to have negative side effects so far.
This commit is contained in:
parent
c86269cf49
commit
da0caaad15
@ -358,6 +358,7 @@ void BaseButton::_unhandled_input(Ref<InputEvent> p_event) {
|
||||
}
|
||||
|
||||
on_action_event(p_event);
|
||||
get_tree()->set_input_as_handled();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user