Skip to content

Commit

Permalink
Preferences: Show "Main interpreter" entry above "Keyboard shortcuts"
Browse files Browse the repository at this point in the history
Also, fix small style issue.
  • Loading branch information
ccordoba12 committed Oct 25, 2023
1 parent 69fa4ba commit f739662
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spyder/plugins/preferences/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
MOST_IMPORTANT_PAGES = [
Plugins.Appearance,
Plugins.Application,
Plugins.Shortcuts,
Plugins.MainInterpreter,
Plugins.Shortcuts,
]


Expand Down
7 changes: 4 additions & 3 deletions spyder/plugins/preferences/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,10 @@ def reset(self):
answer = QMessageBox.warning(
self.main,
_("Warning"),
_("Spyder will restart and reset to default settings: <br><br>"
"Do you want to continue?"),
QMessageBox.Yes | QMessageBox.No
_("Spyder will restart and reset to default settings:"
"<br><br>"
"Do you want to continue?"),
QMessageBox.Yes | QMessageBox.No
)

if answer == QMessageBox.Yes:
Expand Down

0 comments on commit f739662

Please sign in to comment.