moviebrowser.cpp: -fix2 vfd

Origin commit data
------------------
Branch: ni/coolstream
Commit: e45aa72605
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-14 (Fri, 14 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-09-14 20:12:04 +02:00
parent 061ea50059
commit 05b3a3949f
2 changed files with 3 additions and 4 deletions

View File

@@ -1300,9 +1300,6 @@ void CMovieBrowser::refreshLCD(void)
} }
else else
{ {
if(CVFD::getInstance()->getMode() != CVFD::MODE_MENU_UTF8)
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_MOVIEBROWSER_HEAD));
CVFD::getInstance()->showMenuText(0, m_movieSelectionHandler->epgTitle.c_str(), -1, true); // UTF-8 CVFD::getInstance()->showMenuText(0, m_movieSelectionHandler->epgTitle.c_str(), -1, true); // UTF-8
//lcd->showMenuText(1, m_movieSelectionHandler->epgInfo1.c_str(), -1, true); // UTF-8 //lcd->showMenuText(1, m_movieSelectionHandler->epgInfo1.c_str(), -1, true); // UTF-8
} }

View File

@@ -469,6 +469,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
neutrino_msg_t msg; neutrino_msg_t msg;
neutrino_msg_data_t data; neutrino_msg_data_t data;
bool bAllowRepeatLR = false; bool bAllowRepeatLR = false;
CVFD::MODES oldLcdMode = CVFD::getInstance()->getMode();
int pos = 0; int pos = 0;
exit_pressed = false; exit_pressed = false;
@@ -733,7 +734,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
fader.Stop(); fader.Stop();
if(!parent) if(!parent)
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); if(oldLcdMode != CVFD::getInstance()->getMode())
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
for (unsigned int count = 0; count < items.size(); count++) for (unsigned int count = 0; count < items.size(); count++)
{ {