summaryrefslogtreecommitdiffstats
path: root/screens/Task/Header.gd
diff options
context:
space:
mode:
Diffstat (limited to 'screens/Task/Header.gd')
-rw-r--r--screens/Task/Header.gd5
1 files changed, 4 insertions, 1 deletions
diff --git a/screens/Task/Header.gd b/screens/Task/Header.gd
index ed2fe98..8f6c3f7 100644
--- a/screens/Task/Header.gd
+++ b/screens/Task/Header.gd
@@ -1,4 +1,7 @@
extends HBoxContainer
+func populate(data):
+ $"%Name".text = data.name
+
func _on_Back_button_up():
- $"/root/Main".nav_screen("TimeSlot")
+ $"/root/Main".nav_back()