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

Backport action API tweaks to 3.0 #6447

Merged
merged 9 commits into from
Feb 25, 2018

Conversation

nyalldawson
Copy link
Collaborator

This backports the action API changes which missed 3.0 final by 10 mins to 3.0 - these are non-breaking API improvements only.

@signedav can you double check and approve please?

signedav and others added 9 commits February 25, 2018 07:39
and use mode for identify - not to show the actions with isEnabledOnlyWhenEditable is active
used like SingleEditMode here
in the construtors of QgsAction and QgsMapLayerAction
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
@signedav
Copy link
Contributor

I approve. Thanks @nyalldawson !

@nyalldawson nyalldawson merged commit 5d23bc0 into qgis:release-3_0 Feb 25, 2018
@nyalldawson
Copy link
Collaborator Author

Thank you!

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.

None yet

2 participants