Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…te message
  • Loading branch information...
commit f79a9084be873b699459e89505c7e01564963665 1 parent de5f9c4
Karlson2k authored

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 xbmc/settings/GUIWindowSettingsCategory.cpp
6 xbmc/settings/GUIWindowSettingsCategory.cpp
@@ -262,7 +262,11 @@ bool CGUIWindowSettingsCategory::OnMessage(CGUIMessage &message)
262 262 break;
263 263 case GUI_MSG_UPDATE:
264 264 if (HasID(message.GetSenderId()))
265   - UpdateSettings();
  265 + {
  266 + int focusedControl = GetFocusedControlID();
  267 + CreateSettings();
  268 + SET_CONTROL_FOCUS(focusedControl, 0);
  269 + }
266 270 break;
267 271 case GUI_MSG_NOTIFY_ALL:
268 272 {

0 comments on commit f79a908

Please sign in to comment.
Something went wrong with that request. Please try again.