1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Start the autosave timer if the user presses X on the backup confirmation dialog

This commit is contained in:
Manolis Papadeas 2021-10-11 20:40:26 +03:00
parent 4b552a1fdd
commit a5e3afa7e2
2 changed files with 5 additions and 0 deletions

View file

@ -401,3 +401,7 @@ func _on_BackupConfirmation_delete(project_paths : Array, backup_paths : Array)
# Reopen last project
if Global.open_last_project:
load_last_project()
func _on_BackupConfirmation_popup_hide() -> void:
OpenSave.autosave_timer.start()

View file

@ -139,3 +139,4 @@ visible = false
[connection signal="popup_hide" from="Dialogs/QuitAndSaveDialog" to="." method="_can_draw_true"]
[connection signal="popup_hide" from="Dialogs/ErrorDialog" to="." method="_can_draw_true"]
[connection signal="popup_hide" from="Dialogs/BackupConfirmation" to="." method="_can_draw_true"]
[connection signal="popup_hide" from="Dialogs/BackupConfirmation" to="." method="_on_BackupConfirmation_popup_hide"]