Permalink
Browse files

If we didn't actually handle LEFT/RIGHT/UP/DOWN in MythScreenType::ke…

…yPressEvent() then return false.
  • Loading branch information...
stuartm committed Jun 24, 2013
1 parent 9963f4b commit dccff63a83b653b629de64e2d0ece385149719f1
Showing with 8 additions and 2 deletions.
  1. +8 −2 mythtv/libs/libmythui/mythscreentype.cpp
@@ -503,9 +503,15 @@ bool MythScreenType::keyPressEvent(QKeyEvent *event)
handled = true;
if (action == "LEFT" || action == "UP" || action == "PREVIOUS")
NextPrevWidgetFocus(false);
{
if (!NextPrevWidgetFocus(false))
handled = false;
}
else if (action == "RIGHT" || action == "DOWN" || action == "NEXT")
NextPrevWidgetFocus(true);
{
if (!NextPrevWidgetFocus(true))
handled = false;
}
else if (action == "ESCAPE")
Close();
else if (action == "MENU")

0 comments on commit dccff63

Please sign in to comment.