extends PopupPanel func _on_CheckBox1_toggled(button_pressed): $VB/HBox/Accept.disabled = not (button_pressed and $VB/CheckBox2.pressed) func _on_CheckBox2_toggled(button_pressed): $VB/HBox/Accept.disabled = not (button_pressed and $VB/CheckBox1.pressed) func _on_NoticeText_meta_clicked(meta): OS.shell_open(str(meta)) func _on_Accept_pressed(): hide() Settings.settings.PrivacyNoticeConfirmed = true #Global.settings.save(Global.SETTINGSLOCATION) func _on_Decline_pressed(): get_tree().quit()