Merge pull request #111117 from YeldhamDev/focus_corner_cases_fix

Fix cases where `LineEdit` can still show focus with mouse events
This commit is contained in:
Thaddeus Crews 2025-10-06 14:34:12 -05:00
commit 48ebbc438e
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
5 changed files with 68 additions and 13 deletions

View file

@ -82,8 +82,9 @@
</method>
<method name="edit">
<return type="void" />
<param index="0" name="hide_focus" type="bool" default="false" />
<description>
Allows entering edit mode whether the [LineEdit] is focused or not.
Allows entering edit mode whether the [LineEdit] is focused or not. If [param hide_focus] is [code]true[/code], the focused state will not be shown (see [method Control.grab_focus]).
See also [member keep_editing_on_text_submit].
</description>
</method>