@@ -47,6 +47,23 @@ Update to v0.0.0?"
4747[node name ="HSeparator" type ="HSeparator" parent ="UpdateConfirmationDialog/MarginContainer/VBoxContainer" ]
4848layout_mode = 2
4949
50+ [node name ="WarningMessageButton" type ="LinkButton" parent ="UpdateConfirmationDialog/MarginContainer/VBoxContainer" ]
51+ unique_name_in_owner = true
52+ layout_mode = 2
53+ text = "Warning About Updating"
54+
55+ [node name ="WarningMessageLabel" type ="Label" parent ="UpdateConfirmationDialog/MarginContainer/VBoxContainer" ]
56+ unique_name_in_owner = true
57+ visible = false
58+ custom_minimum_size = Vector2 (624 , 205 )
59+ layout_mode = 2
60+ text = "Not all updates are backwards compatible!
61+
62+ Updating can cause issues with previously copied examples. It is recommended to delete any copied example files before starting an update, if it is an option. Otherwise, pay attention to the Release Notes for an idea for how changes may impact your project.
63+
64+ Lastly, save your work and proceed with caution."
65+ autowrap_mode = 3
66+
5067[node name ="ReleaseNotesButton" type ="LinkButton" parent ="UpdateConfirmationDialog/MarginContainer/VBoxContainer" ]
5168unique_name_in_owner = true
5269layout_mode = 2
@@ -121,6 +138,7 @@ dialog_text = "%s updated to v%s."
121138[connection signal ="zip_saved" from ="DownloadAndExtract" to ="." method ="_on_download_and_extract_zip_saved" ]
122139[connection signal ="canceled" from ="UpdateConfirmationDialog" to ="." method ="_on_update_confirmation_dialog_canceled" ]
123140[connection signal ="confirmed" from ="UpdateConfirmationDialog" to ="." method ="_on_update_confirmation_dialog_confirmed" ]
141+ [connection signal ="pressed" from ="UpdateConfirmationDialog/MarginContainer/VBoxContainer/WarningMessageButton" to ="." method ="_on_warning_message_button_pressed" ]
124142[connection signal ="pressed" from ="UpdateConfirmationDialog/MarginContainer/VBoxContainer/ReleaseNotesButton" to ="." method ="_on_release_notes_button_pressed" ]
125143[connection signal ="canceled" from ="ErrorDialog" to ="." method ="_on_error_dialog_canceled" ]
126144[connection signal ="confirmed" from ="ErrorDialog" to ="." method ="_on_error_dialog_confirmed" ]
0 commit comments