summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-07-13 23:13:16 +0200
committertpart <tpart120@proton.me>2025-07-13 23:13:20 +0200
commitd48a880151086d8a43ed8ade31dff7cc52c757ff (patch)
tree74f66353dda394251d119d8fec841b52483ed091 /client
parentcfc3b7bf4cee79ad3c51e1c25fa6ecb57371e34b (diff)
downloadhurrycurry-d48a880151086d8a43ed8ade31dff7cc52c757ff.tar
hurrycurry-d48a880151086d8a43ed8ade31dff7cc52c757ff.tar.bz2
hurrycurry-d48a880151086d8a43ed8ade31dff7cc52c757ff.tar.zst
Avoid input fields as default focus (Fix #359)
Diffstat (limited to 'client')
-rw-r--r--client/menu/menu.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu/menu.gd b/client/menu/menu.gd
index f077f947..e831816e 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 or node is LineEdit:
+ if node is Button:
node.grab_focus()
print("Node %s (%s) was selected for focus" % [node.name, node])
return true