1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

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.
This commit is contained in:
Markus Sauermann
2022-11-26 22:57:31 +01:00
parent e29b982dbf
commit e88fbfc5ea

View File

@@ -582,6 +582,7 @@ void EditorSpinSlider::_value_focus_exited() {
//tab was pressed
} else {
//enter, click, esc
grab_focus();
}
}