mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
11 lines
209 B
GDScript
11 lines
209 B
GDScript
extends WindowDialog
|
|
|
|
signal entered(text)
|
|
|
|
func _text_entered(text):
|
|
emit_signal("entered", text)
|
|
queue_free()
|
|
|
|
func _notification(what):
|
|
if what == Popup.NOTIFICATION_POST_POPUP:
|
|
$LineEdit.grab_focus()
|