Skip to content

Commit

Permalink
Attempt to fix #901
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadedOrama committed Aug 20, 2023
1 parent f515dbe commit 5afbc1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UI/Tabs.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5afbc1a

Please sign in to comment.