Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui_qt/config: fix configuring extension plugins #1230

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news.d/bugfix/1230.ui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix changes to the list of enabled extension plugins not being saved to the configuration file.
3 changes: 3 additions & 0 deletions plover/gui_qt/config_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ def setValue(self, value):
self.setRowCount(0)
if value is None:
value = set()
else:
# Don't mutate the original value.
value = set(value)
self._value = value
row = -1
for choice in sorted(self._reversed_choices):
Expand Down