1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-30 23:19:49 +00:00

Fix mistake caused by a previous commit when re-arranging project tabs

This commit is contained in:
Emmanouil Papadeas 2023-08-26 04:52:08 +03:00 committed by GitHub
parent 2dfab468ff
commit c5970b2edb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ func _on_Tabs_reposition_active_tab_request(idx_to: int) -> void:
OpenSave.current_save_paths.insert(idx_to, temp_save_path) OpenSave.current_save_paths.insert(idx_to, temp_save_path)
var temp_backup_path = OpenSave.backup_save_paths[Global.current_project_index] var temp_backup_path = OpenSave.backup_save_paths[Global.current_project_index]
OpenSave.backup_save_paths.remove(Global.current_project_index) OpenSave.backup_save_paths.remove(Global.current_project_index)
OpenSave.backup_save_paths.insert(idx_to, temp_save_path) OpenSave.backup_save_paths.insert(idx_to, temp_backup_path)
func delete_tab(tab: int) -> void: func delete_tab(tab: int) -> void: