From 1fe674aec4bd6ce3fc666c8545dadb4f0614067d Mon Sep 17 00:00:00 2001 From: dam Date: Wed, 6 Apr 2022 22:52:14 +0000 Subject: Improved file operations for database and option sets. Added confirmation dialogs when importing database and option sets files. Standardized the error print calls. Fixed capitalization on menu entries. --- logic/popup.gd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'logic/popup.gd') diff --git a/logic/popup.gd b/logic/popup.gd index d7c98f9..95fc2c3 100644 --- a/logic/popup.gd +++ b/logic/popup.gd @@ -5,12 +5,12 @@ signal dismissed # () export var clear_signals_on_hide := true -var control : Control -var control_parent : Node +var control : Control +var control_parent : Node -onready var title := get_node("title") as Label -onready var background := get_node("background") as Panel -onready var dismiss := get_node("dismiss") as Button +onready var title := get_node("title") as Label +onready var background := get_node("background") as Panel +onready var dismiss_button := get_node("dismiss") as Button func _init(): @@ -21,7 +21,7 @@ func _init(): func _ready(): - dismiss.connect("pressed", self, "dismiss") + dismiss_button.connect("pressed", self, "dismiss") func _clear_signals(): -- cgit v1.2.3