mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 10:59:49 +00:00
Treat X as delete in the backup confirmation dialog
This commit is contained in:
parent
f327eccaa1
commit
a478dee88e
|
@ -164,6 +164,9 @@ func _handle_backup() -> void:
|
||||||
backup_confirmation.get_cancel().connect(
|
backup_confirmation.get_cancel().connect(
|
||||||
"pressed", self, "_on_BackupConfirmation_delete", [project_paths, backup_paths]
|
"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()
|
backup_confirmation.popup_centered()
|
||||||
Global.can_draw = false
|
Global.can_draw = false
|
||||||
modulate = Color(0.5, 0.5, 0.5)
|
modulate = Color(0.5, 0.5, 0.5)
|
||||||
|
|
Loading…
Reference in a new issue