Skip to content

Commit

Permalink
Display workspace name rather than project name
Browse files Browse the repository at this point in the history
Reduces risk of duplicates in case several workspaces are open for a
single project.
  • Loading branch information
deathaxe committed Jan 5, 2023
1 parent 8bc6045 commit 4d2de48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion switch_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def list_items(self):
elif view.name():
active_file_name = view.name()

project_file_name = window.project_file_name()
project_file_name = window.workspace_file_name()
if project_file_name:
title = os.path.splitext(os.path.basename(project_file_name))[0]
kind = kind_project
Expand Down

0 comments on commit 4d2de48

Please sign in to comment.