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

Fix sip __hash__ for QgsActionScope #35514

Merged
merged 1 commit into from
Apr 8, 2020
Merged

Fix sip __hash__ for QgsActionScope #35514

merged 1 commit into from
Apr 8, 2020

Conversation

stev-0
Copy link
Contributor

@stev-0 stev-0 commented Apr 1, 2020

to allow use in actionScopeRegistry
Fixes #29225

QgsApplication.actionScopeRegistry().actionScopes() was not working because it returns a set.

This requires the __hash__ method on the set class contained in the set (QgsActionScope) to be implemented in Python.

This PR implements that function to allow sets of QgsActionScope

@github-actions github-actions bot added this to the 3.14.0 milestone Apr 1, 2020
@stev-0 stev-0 force-pushed the #29225 branch 4 times, most recently from 6b7d73d to 5906ba3 Compare April 6, 2020 19:07
to allow use in actionScopeRegistry. Fixes qgis#29225
@nyalldawson nyalldawson added the API API improvement only, no visible user interface changes label Apr 7, 2020
@m-kuhn m-kuhn merged commit e3211a0 into qgis:master Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API improvement only, no visible user interface changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to retrieve list of QgsActionScope from PyQGIS
3 participants