diff options
Diffstat (limited to 'client/menu/menu.gd')
-rw-r--r-- | client/menu/menu.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu/menu.gd b/client/menu/menu.gd index fa70d301..f5b99d4f 100644 --- a/client/menu/menu.gd +++ b/client/menu/menu.gd @@ -109,7 +109,7 @@ func focus_first(node: Node) -> bool: focus_auto_changed = true if node.is_in_group("no_auto_focus"): return false - if node is Button: + if node is Button or node is LineEdit and not node.is_in_group("no_autoselect"): node.grab_focus() print("Node %s (%s) was selected for focus" % [node.name, node]) return true |