diff options
| author | dam <dam@gudinoff> | 2022-04-06 22:52:14 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-04-06 22:52:14 +0000 |
| commit | 1fe674aec4bd6ce3fc666c8545dadb4f0614067d (patch) | |
| tree | 949a5ff1380bf82edaf387a5b4e04d0a4bf9d46a /logic/popup.gd | |
| parent | 0f1adc3bb1f41b5dd3490f176a5eee2c17007923 (diff) | |
| download | surgery-log-1fe674aec4bd6ce3fc666c8545dadb4f0614067d.tar.zst surgery-log-1fe674aec4bd6ce3fc666c8545dadb4f0614067d.zip | |
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.
Diffstat (limited to 'logic/popup.gd')
| -rw-r--r-- | logic/popup.gd | 12 |
1 files changed, 6 insertions, 6 deletions
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(): |
