You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
413 B

extends Control
onready var NewPollButton = find_node("NewPollButton")
func _ready():
NewPollButton.grab_focus()
func _on_NewPollButton_pressed():
var changed = get_tree().change_scene("res://gui/forms/NewPollForm.tscn")
if OK != changed:
printerr("Failed to open the new poll form scene.")
func _on_ExitButton_pressed():
get_tree().quit()
func _on_SettingsButton_pressed():
App.go_to_settings()