From 4d2de48028e8a81ba942004be84fe160ead7add7 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Thu, 5 Jan 2023 19:04:49 +0100 Subject: [PATCH] Display workspace name rather than project name Reduces risk of duplicates in case several workspaces are open for a single project. --- switch_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switch_window.py b/switch_window.py index fdb265f..4179fdb 100644 --- a/switch_window.py +++ b/switch_window.py @@ -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