mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
Revert "CMenuWidget: simplify menu_left_exit code, add missing break"
This reverts commit aa0863f0c3
.
This commit is contained in:
@@ -928,12 +928,16 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case (CRCInput::RC_left):
|
case (CRCInput::RC_left):
|
||||||
if (hasItem() && selected > -1 && (int)items.size() > selected) {
|
{
|
||||||
CMenuItem* itemX = items[selected];
|
if(hasItem() && selected > -1 && (int)items.size() > selected) {
|
||||||
if (!itemX->isMenueOptionChooser() && g_settings.menu_left_exit)
|
CMenuItem* itemX = items[selected];
|
||||||
msg = CRCInput::RC_timeout;
|
if (!itemX->isMenueOptionChooser()) {
|
||||||
|
if (g_settings.menu_left_exit)
|
||||||
|
msg = CRCInput::RC_timeout;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case (CRCInput::RC_right):
|
case (CRCInput::RC_right):
|
||||||
case (CRCInput::RC_ok):
|
case (CRCInput::RC_ok):
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user