aboutsummaryrefslogtreecommitdiff
path: root/logic/stage.gd
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-01-04 22:34:48 +0000
committerdam <dam@gudinoff>2022-01-04 22:34:48 +0000
commit06b2f34ba64726028f494060376044531d763668 (patch)
tree414d171e5b73c916eadfdd753a1c1b1eac38713e /logic/stage.gd
parent73f2cf39d5514fab4ee994f303e250ce2b27307c (diff)
downloadsurgery-log-06b2f34ba64726028f494060376044531d763668.tar.zst
surgery-log-06b2f34ba64726028f494060376044531d763668.zip
Implement clear and export data actions.
Merge and reuse modal dialogs.
Diffstat (limited to 'logic/stage.gd')
-rw-r--r--logic/stage.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/stage.gd b/logic/stage.gd
index 27962c6..73d905e 100644
--- a/logic/stage.gd
+++ b/logic/stage.gd
@@ -13,7 +13,7 @@ onready var process_id: LineEdit = get_node("controls/process_id")
onready var surgery_id: LineEdit = get_node("controls/surgery_id")
onready var date: DatePicker = get_node("controls/date_picker")
onready var place: LineEdit = get_node("controls/place")
-onready var anesthetic: LineEdit = get_node("controls/anesthetic")
+onready var anesthesia: LineEdit = get_node("controls/anesthesia")
onready var first_assistant: LineEdit = get_node("controls/first_assistant")
onready var type: LineEdit = get_node("controls/type")
onready var sub_type: LineEdit = get_node("controls/sub_type")
@@ -81,7 +81,7 @@ func set_stage(entry: Dictionary):
surgery_id.text = entry.surgery_id
date.set_date(entry.date_year, entry.date_month, entry.date_day)
place.text = entry.place
- anesthetic.text = entry.anesthetic
+ anesthesia.text = entry.anesthesia
first_assistant.text = entry.first_assistant
type.text = entry.type
sub_type.text = entry.sub_type
@@ -102,7 +102,7 @@ func get_stage() -> Dictionary:
"date_month": date.get_month(),
"date_day": date.get_day(),
"place": place.text,
- "anesthetic": anesthetic.text,
+ "anesthesia": anesthesia.text,
"first_assistant": first_assistant.text,
"type": type.text,
"sub_type": sub_type.text,