Browse files

Fix menu display on LCD

Patch from #9392

Currently, the main menu is not always updated correctly on the LCD display.
When you enter a submenu, the display is correctly updated to show the submenu.
But when you return to the main menu, the display still shows the submenu until
you change the focus of the elements in the menu. This makes it difficult to
navigate through the menus using only the LCD display.

This commit fixes this behaviour by triggering an updateLCD() when a menu is

Signed-off-by: Gavin Hurlbut <>
  • Loading branch information...
1 parent f8f23eb commit 22e48c44dfed397f2e71989b958f65b235c9b725 @mzanetti mzanetti committed with Beirdo Jan 30, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −0 mythtv/libs/libmythui/myththemedmenu.cpp
  2. +1 −2 mythtv/libs/libmythui/mythuibuttonlist.h
@@ -280,6 +280,7 @@ bool MythThemedMenu::keyPressEvent(QKeyEvent *event)
void MythThemedMenu::aboutToShow()
+ m_buttonList->updateLCD();
void MythThemedMenu::ShowMenu()
@@ -169,6 +169,7 @@ class MPUBLIC MythUIButtonList : public MythUIType
void RemoveItem(MythUIButtonListItem *item);
void SetLCDTitles(const QString &title, const QString &columnList = "");
+ void updateLCD(void);
void SetSearchFields(const QString &fields) { m_searchFields = fields; }
bool Find(const QString &searchStr, bool startsWith = false);
@@ -222,8 +223,6 @@ class MPUBLIC MythUIButtonList : public MythUIType
void SetPositionArrowStates(void);
void ItemVisible(MythUIButtonListItem *item);
- void updateLCD(void);
void SetActive(bool active);
int PageUp(void);

0 comments on commit 22e48c4

Please sign in to comment.