Prevent LineEdit from losing focus when text is submitted or rejected.

This commit is contained in:
Mounir Tohami 2024-09-10 13:43:31 +00:00
parent d0dc3896ad
commit c36f466a4c
6 changed files with 411 additions and 310 deletions

View file

@ -86,8 +86,7 @@ class SpinBox : public Range {
bool down_button_disabled = false;
} state_cache;
void _line_edit_focus_enter();
void _line_edit_focus_exit();
void _line_edit_editing_toggled(bool p_toggled_on);
inline void _compute_sizes();
inline int _get_widest_button_icon_width();