1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

Treat X as delete in the backup confirmation dialog

This commit is contained in:
Emmanouil Papadeas 2022-05-18 14:42:36 +03:00
parent f327eccaa1
commit a478dee88e

View file

@ -164,6 +164,9 @@ func _handle_backup() -> void:
backup_confirmation.get_cancel().connect(
"pressed", self, "_on_BackupConfirmation_delete", [project_paths, backup_paths]
)
backup_confirmation.get_close_button().connect(
"pressed", self, "_on_BackupConfirmation_delete", [project_paths, backup_paths]
)
backup_confirmation.popup_centered()
Global.can_draw = false
modulate = Color(0.5, 0.5, 0.5)