Skip to content

Commit

Permalink
[ci-skip] Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jitse Niesen <jitseniesen@yahoo.com>
  • Loading branch information
mrclary and jitseniesen committed May 16, 2024
1 parent e7e480a commit e9113f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spyder/plugins/pythonpath/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ def show_path_manager(self):
Send the most up-to-date system paths to the dialog in case they have
changed. But do not _save_paths until after the dialog exits, in order
to consolodate possible changes and avoid emitting multiple signals.
to consolidate possible changes and avoid emitting multiple signals.
This requires that the dialog return its original paths on cancel or
close.
"""
# Do not update paths or run setup if widget is already open,
# Do not update paths if widget is already open,
# see spyder-ide/spyder#20808.
if not self.path_manager_dialog.isVisible():
self.path_manager_dialog.update_paths(
Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/pythonpath/widgets/pathmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def refresh(self):

if self.prioritize_button.isChecked():
self.prioritize_button.setIcon(self.create_icon('prepend'))
self.prioritize_button.setToolTip(_("Paths are prpended to sys.path"))
self.prioritize_button.setToolTip(_("Paths are prepended to sys.path"))
else:
self.prioritize_button.setIcon(self.create_icon('append'))
self.prioritize_button.setToolTip(_("Paths are appended to sys.path"))
Expand Down

0 comments on commit e9113f8

Please sign in to comment.