mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-02 10:52:00 +03:00
12 lines
209 B
GDScript
12 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()
|