Skip to content

Fix type of SUPPORTED_ROLES in dictionaries widget - #1854

Merged
mkrnr merged 4 commits into
opensteno:mainfrom
toyboot4e:fix/rule-type
Jul 12, 2026
Merged

Fix type of SUPPORTED_ROLES in dictionaries widget#1854
mkrnr merged 4 commits into
opensteno:mainfrom
toyboot4e:fix/rule-type

Conversation

@toyboot4e

@toyboot4e toyboot4e commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Send a list, not a set, as in the official PySide repository:

https://github.com/qtproject/pyside-pyside-setup/blob/6389b54051d11154bb26874af1351dfa82c9d66e/examples/widgets/tutorials/modelview/3_changingmodel.py#L44

Tests

I confirmed that the startup error log was suppressed after this change.

I manually tested it with plover-flake:

nix run .#plover-full --override-input plover path:./local-plover-with-fix

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

@toyboot4e
toyboot4e marked this pull request as draft July 12, 2026 06:06
@toyboot4e
toyboot4e marked this pull request as ready for review July 12, 2026 06:12
@toyboot4e
toyboot4e marked this pull request as draft July 12, 2026 06:13
@toyboot4e
toyboot4e marked this pull request as ready for review July 12, 2026 06:32

@mkrnr mkrnr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this fix! And that solves the open question in that test which is nice 🙂

@mkrnr mkrnr changed the title fix: type of SUPPORTED_ROLES Fix type of SUPPORTED_ROLES in dictionaries widget Jul 12, 2026
@mkrnr
mkrnr merged commit 81cef57 into opensteno:main Jul 12, 2026
18 checks passed
@toyboot4e
toyboot4e deleted the fix/rule-type branch July 12, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Startup error: _pythonToCppCopy: Cannot copy-convert 0x7ff8019427a0 (set) to C++.

2 participants