diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-26 22:57:31 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-26 22:57:31 +0100 |
commit | e88fbfc5ead638f76d4c8723ffcb5babe7fbd384 (patch) | |
tree | 8a4f386eda859f35579c38089ac4d510cf4370e1 | |
parent | e29b982dbf06fb7bb32257642687df5093d7327c (diff) | |
download | redot-engine-e88fbfc5ead638f76d4c8723ffcb5babe7fbd384.tar.gz |
Fix focus after pressing Enter in EditorSpinSlider
With the change from Popup to Controls for the Input-Node, it becomes
necessary to adjust focus after hiding the Input-Node to the initial
Control.
-rw-r--r-- | editor/editor_spin_slider.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 11a8fce9c3..9128143619 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -582,6 +582,7 @@ void EditorSpinSlider::_value_focus_exited() { //tab was pressed } else { //enter, click, esc + grab_focus(); } } |