Skip to content

Menu doesn't select the correct item #9

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

Closed
savetheclocktower opened this issue Nov 26, 2012 · 0 comments
Closed

Menu doesn't select the correct item #9

savetheclocktower opened this issue Nov 26, 2012 · 0 comments

Comments

@savetheclocktower
Copy link

When I run the usage example from "$DIALOG" help menu...

"$DIALOG" menu --items '({title = foo;}, {separator = 1;}, {header=1; title = bar;}, {title = baz;})'

…it doesn't return the correct item. For instance, when I select the "baz" item, the returned plist points to the separator.

I believe this commit fixes the issue, but also appears to add a feature. I was hoping to be able to submit a pull request with only the bugfix, but I don't have enough experience with Cocoa to do so confidently.

Submitting this as a separate issue because I think it's of a higher priority than the other stuff that @Bibiko put into #6.

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

No branches or pull requests

2 participants