mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- user_menu: allow controlable return_title value
This commit is contained in:
@@ -478,13 +478,12 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
|
||||
return true;
|
||||
}
|
||||
|
||||
const char *CUserMenu::getUserMenuButtonName(int button, bool &active)
|
||||
const char *CUserMenu::getUserMenuButtonName(int button, bool &active, bool return_title)
|
||||
{
|
||||
active = false;
|
||||
if(button < 0 || button >= (int) g_settings.usermenu.size())
|
||||
return "";
|
||||
|
||||
bool return_title = false;
|
||||
neutrino_locale_t loc = NONEXISTANT_LOCALE;
|
||||
const char *text = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user