[pvr] no need to handle ACTION_NAV_BACK and ACTION_PREVIOUS_MENU in GUIWindowPVRCommo...
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 4 Jan 2014 22:31:42 +0000 (11:31 +1300)
committerJonathan Marshall <jmarshall@xbmc.org>
Sat, 4 Jan 2014 22:31:42 +0000 (11:31 +1300)
xbmc/pvr/windows/GUIWindowPVRCommon.cpp

index 7793c81..0516a80 100644 (file)
@@ -198,16 +198,7 @@ void CGUIWindowPVRCommon::OnWindowUnload(void)
 
 bool CGUIWindowPVRCommon::OnAction(const CAction &action)
 {
-  bool bReturn = false;
-
-  if (action.GetID() == ACTION_NAV_BACK ||
-      action.GetID() == ACTION_PREVIOUS_MENU)
-  {
-    g_windowManager.PreviousWindow();
-    bReturn = true;
-  }
-
-  return bReturn;
+  return false; // CGUIWindowPVR will handle any default actions
 }
 
 bool CGUIWindowPVRCommon::OnContextButton(int itemNumber, CONTEXT_BUTTON button)