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

[confluence] fix default focus in ProfileSettings.xml (fixes #15507) #5591

Merged
merged 1 commit into from Oct 28, 2014

Conversation

Montellese
Copy link
Member

This fixes http://trac.xbmc.org/ticket/15507. Right now no control is focused when opening a CGUIDialogProfileSettings dialog because of an invalid <defaultcontrol> definition in Confluence's ProfileSettings.xml. There's no control with ID 1 in CGUIDialogProfileSettings and CGUIDialogSettingsBase (from which CGUIDilaogProfileSettings is derived (indirectly)) already contains logic to automatically set the focus to the first control in the list.

The only thing I'm wondering about is whether it should be possible to focus the image control. But it looks like there's no logic in CGUIDialogProfileSettings that would allow a user to choose a different profile image.

@ronie for review please.

@Montellese Montellese added the Type: Fix non-breaking change which fixes an issue label Oct 28, 2014
@MilhouseVH
Copy link
Contributor

That fixes it, many thanks Montellese!

@ronie
Copy link
Member

ronie commented Oct 28, 2014

thx, the defaultcontrol definition is indeed incorrect.

it's strange that it works in gotham without issues though..
i'll give a heads-up to our skinners, as just about every skin in the book uses it.

ronie added a commit that referenced this pull request Oct 28, 2014
[confluence] fix default focus in ProfileSettings.xml (fixes #15507)
@ronie ronie merged commit 662c5dc into xbmc:master Oct 28, 2014
@Montellese Montellese deleted the confluence_15507 branch October 28, 2014 21:10
@MartijnKaijser MartijnKaijser added this to the Helix 14.0-alpha5 milestone Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants