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