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

Attempt to fix #901

This commit is contained in:
OverloadedOrama 2023-08-20 21:45:35 +03:00
parent f515dbe57e
commit 5afbc1a4ec

View file

@ -49,11 +49,11 @@ func _on_Tabs_reposition_active_tab_request(idx_to: int) -> void:
# Change save paths
var temp_save_path = OpenSave.current_save_paths[Global.current_project_index]
OpenSave.current_save_paths[Global.current_project_index] = OpenSave.current_save_paths[idx_to]
OpenSave.current_save_paths[idx_to] = temp_save_path
OpenSave.current_save_paths.remove(Global.current_project_index)
OpenSave.current_save_paths.insert(idx_to, temp_save_path)
var temp_backup_path = OpenSave.backup_save_paths[Global.current_project_index]
OpenSave.backup_save_paths[Global.current_project_index] = OpenSave.backup_save_paths[idx_to]
OpenSave.backup_save_paths[idx_to] = temp_backup_path
OpenSave.backup_save_paths.remove(Global.current_project_index)
OpenSave.backup_save_paths.insert(idx_to, temp_save_path)
func delete_tab(tab: int) -> void: