mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
Origin commit data
------------------
Commit: afbd87083b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
This commit is contained in:
@@ -604,10 +604,10 @@ bool CPersonalizeGui::changeNotify(const neutrino_locale_t locale, void *data)
|
||||
if (opt_val == PERSONALIZE_MODE_VISIBLE || opt_val == PERSONALIZE_MODE_PIN)
|
||||
{
|
||||
chooser->setActive(false);
|
||||
chooser->setOptionValue(PERSONALIZE_MODE_NOTVISIBLE);
|
||||
chooser->setOption(PERSONALIZE_MODE_NOTVISIBLE);
|
||||
}else{
|
||||
chooser->setActive(true);
|
||||
chooser->setOptionValue(PERSONALIZE_MODE_VISIBLE);
|
||||
chooser->setOption(PERSONALIZE_MODE_VISIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user