Permalink
Browse files

[GUI] Fix reseting to first page in GUIWindowSettingsCategory on Upda…

…te message
  • Loading branch information...
1 parent de5f9c4 commit f79a9084be873b699459e89505c7e01564963665 @Karlson2k Karlson2k committed Oct 1, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 xbmc/settings/GUIWindowSettingsCategory.cpp
@@ -262,7 +262,11 @@ bool CGUIWindowSettingsCategory::OnMessage(CGUIMessage &message)
break;
case GUI_MSG_UPDATE:
if (HasID(message.GetSenderId()))
- UpdateSettings();
+ {
+ int focusedControl = GetFocusedControlID();
+ CreateSettings();
+ SET_CONTROL_FOCUS(focusedControl, 0);
+ }
break;
case GUI_MSG_NOTIFY_ALL:
{

0 comments on commit f79a908

Please sign in to comment.