mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
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