Skip to content

Commit

Permalink
preferences: Fix error after changes to Plugins section
Browse files Browse the repository at this point in the history
The Plugins section in the preferences dialog allows to enable/disable
plugins. After making changes and pressing OK or Apply in the
preferences dialog, an error occurred.

The error occurs because of a change of the return type of
SpyderConfigPage.create_checkbox() (see PR20926 [1]).

[1] spyder-ide#20926
  • Loading branch information
rear1019 committed Aug 9, 2023
1 parent c628838 commit a1c8dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/api/plugin_registration/_confpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def setup_page(self):
)
)

self.plugins_checkboxes[plugin_name] = (cb, plugin_state)
self.plugins_checkboxes[plugin_name] = (cb.checkbox, plugin_state)

# ------------------ External plugins ---------------------------------
for plugin_name in self.plugin.all_external_plugins:
Expand Down

0 comments on commit a1c8dd0

Please sign in to comment.