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

Support for adding multiple actions for a single plug-in #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iluxave
Copy link

@iluxave iluxave commented Apr 3, 2018

I have a plug in, which I sometimes want to run on a current image only, and sometimes on the whole set. This requires two menu items, to make things easy.
This change allows plugin.action() method to return a list or a tuple of actions/menu items to be added to the plugin menu, or a single item (scalar).

…form an action on all images, or current image only)
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.

1 participant