mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- psisetup: simplify 25c79afcc31ecf4a821d19ff6eded53222a5a676
Signed-off-by: Thilo Graf <dbt@novatux.de> commit was: - psisetup: avoid cursor on last item e28f72984bcbf2fda748b445934c73b841b06c21
This commit is contained in:
@@ -190,7 +190,7 @@ int CPSISetup::exec (CMenuTarget * parent, const std::string &)
|
||||
direction = -1;
|
||||
/* fall through */
|
||||
case CRCInput::RC_down:
|
||||
if (selected + direction > -1 && selected + direction < (PSI_SCALE_COUNT - 1))
|
||||
if (selected + direction > -1 && selected + direction < PSI_RESET)
|
||||
{
|
||||
psi_list[selected].selected = false;
|
||||
paintSlider (selected);
|
||||
|
Reference in New Issue
Block a user