mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +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()
|