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

CGUIWindowAddonBrowser: return -1 instead of 0 from SelectAddonID() if no addons can be listed/selected #9131

Merged
merged 1 commit into from
Feb 16, 2016

Conversation

Montellese
Copy link
Member

This commit is from the controller input PR #8807 from @garbear and changes the implementation of CGUIWindowAddonBrowser::SelectAddonID() to return -1 instead of 0 if the select dialog hasn't been shown because there are no matching addons. Right now there's no way to distinguish between that case and the case where the user simply didn't select any addon and closed the dialog again.

@Montellese Montellese added Type: Improvement non-breaking change which improves existing functionality v17 Krypton Component: Add-ons labels Feb 14, 2016
@Montellese Montellese added this to the Krypton 17.0-alpha1 milestone Feb 14, 2016
@Montellese Montellese mentioned this pull request Feb 14, 2016
34 tasks
@Montellese
Copy link
Member Author

jenkins build this please

@Montellese
Copy link
Member Author

Windows binary addon failure unrelated.

Montellese added a commit that referenced this pull request Feb 16, 2016
CGUIWindowAddonBrowser: return -1 instead of 0 from SelectAddonID() if no addons can be listed/selected
@Montellese Montellese merged commit c8459d5 into xbmc:master Feb 16, 2016
@Montellese Montellese deleted the addonbrowser_selectaddonid branch February 16, 2016 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Add-ons Type: Improvement non-breaking change which improves existing functionality v17 Krypton
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant