mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-26 07:44:42 -04:00
Save backups for all opened projects
current_save_paths and backup_save_paths in OpenSave.gd are arrays now, have paths for every project
This commit is contained in:
parent
2c409ab025
commit
709a401373
8 changed files with 81 additions and 66 deletions
|
@ -27,6 +27,9 @@ func _on_Tabs_reposition_active_tab_request(idx_to : int) -> void:
|
|||
func delete_tab(tab : int) -> void:
|
||||
remove_tab(tab)
|
||||
Global.projects[tab].undo_redo.free()
|
||||
OpenSave.remove_backup(tab)
|
||||
OpenSave.current_save_paths.remove(tab)
|
||||
OpenSave.backup_save_paths.remove(tab)
|
||||
Global.projects.remove(tab)
|
||||
if tab > 0:
|
||||
Global.current_project_index -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue