Skip to content

Commit

Permalink
Only update system paths on Spyder startup, not every time the python…
Browse files Browse the repository at this point in the history
…path manager widget is invoked.

If the system paths have changed since last widget invocation, then the user may not be aware and there is no indication in the widget that there has been a change. Furthermore, canceling the widget may still result in a change to the pythonpath, which would be inconsistent with the cancel action.
  • Loading branch information
mrclary committed Nov 21, 2024
1 parent 0a97451 commit a6f7038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/pythonpath/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def show_path_manager(self):
self.path_manager_dialog.update_paths(
project_paths=self._project_paths,
user_paths=self._user_paths,
system_paths=self._get_system_paths(),
system_paths=self._system_paths,
prioritize=self._prioritize
)

Expand Down

0 comments on commit a6f7038

Please sign in to comment.