From e88fbfc5ead638f76d4c8723ffcb5babe7fbd384 Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Sat, 26 Nov 2022 22:57:31 +0100 Subject: 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. --- editor/editor_spin_slider.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } } -- cgit v1.2.3