mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
infoviewer_bb.cpp CInfoViewerBB::getBBButtonInfo() fix audioname in ts mode
This commit is contained in:
@@ -212,7 +212,7 @@ void CInfoViewerBB::getBBButtonInfo()
|
||||
bbButtonMaxH = 0;
|
||||
bbButtonMaxX = g_InfoViewer->ChanInfoX;
|
||||
int bbButtonMaxW = 0;
|
||||
int mode;
|
||||
int mode = NeutrinoMessages::mode_unknown;
|
||||
for (int i = 0; i < CInfoViewerBB::BUTTON_MAX; i++) {
|
||||
int w = 0, h = 0;
|
||||
bool active;
|
||||
@@ -232,7 +232,8 @@ void CInfoViewerBB::getBBButtonInfo()
|
||||
icon = NEUTRINO_ICON_BUTTON_GREEN;
|
||||
frameBuffer->getIconSize(icon.c_str(), &w, &h);
|
||||
text = CUserMenu::getUserMenuButtonName(1, active);
|
||||
if (!text.empty())
|
||||
mode = CNeutrinoApp::getInstance()->getMode();
|
||||
if (!text.empty() && mode != NeutrinoMessages::mode_ts)
|
||||
break;
|
||||
text = g_settings.usermenu[SNeutrinoSettings::BUTTON_GREEN]->title;
|
||||
if (text == g_Locale->getText(LOCALE_AUDIOSELECTMENUE_HEAD))
|
||||
|
Reference in New Issue
Block a user