Skip to content

Commit

Permalink
Ensure the ESCAPE action behaves as expected in HDMV menus.
Browse files Browse the repository at this point in the history
Don't clear the menu when escape is pressed and don't swallow the escape
if a menu is visible.
  • Loading branch information
Mark Kendall committed Jan 18, 2011
1 parent 8ac5bb3 commit 9f30fb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/osd.cpp
Expand Up @@ -269,6 +269,7 @@ bool OSD::IsVisible(void)
if (child->IsVisible() &&
child->objectName() != OSD_WIN_SUBTITLE &&
child->objectName() != OSD_WIN_TELETEXT &&
child->objectName() != OSD_WIN_BDOVERLAY &&
child->objectName() != OSD_WIN_INTERACT)
return true;

Expand All @@ -283,6 +284,7 @@ void OSD::HideAll(bool keepsubs, MythScreenType* except)
it.next();
if (!((keepsubs && (it.key() == OSD_WIN_SUBTITLE ||
it.key() == OSD_WIN_TELETEXT)) ||
(it.key() == OSD_WIN_BDOVERLAY) ||
it.value() == except))
HideWindow(it.key());
}
Expand Down

0 comments on commit 9f30fb2

Please sign in to comment.