xbmc/xbmc — pull request #5591 by Montellese (2014-10-28 08:18:21+00:00)
Title: [confluence] fix default focus in ProfileSettings.xml (fixes #15507)

This fixes http://trac.xbmc.org/ticket/15507. Right now no control is focused when opening a CGUIDialogProfileSettings dialog because of an invalid `` 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.