mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/personalize.cpp: fix pin change active/enactive,
broken after commit688222f0ce
Origin commit data ------------------ Commit:40e3106e53
Author: [CST] Focus <focus.cst@gmail.com> Date: 2013-11-06 (Wed, 06 Nov 2013)
This commit is contained in:
@@ -378,7 +378,7 @@ void CPersonalizeGui::ShowPinSetup(CMenuWidget* p_widget, CPINChangeWidget * &pi
|
|||||||
pin_setup_notifier = new CPinSetupNotifier(fw_pin_setup);
|
pin_setup_notifier = new CPinSetupNotifier(fw_pin_setup);
|
||||||
p_widget->addItem(new CMenuOptionChooser(LOCALE_PERSONALIZE_PIN_IN_USE, &g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, pin_setup_notifier));
|
p_widget->addItem(new CMenuOptionChooser(LOCALE_PERSONALIZE_PIN_IN_USE, &g_settings.personalize[SNeutrinoSettings::P_MAIN_PINSTATUS], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, pin_setup_notifier));
|
||||||
|
|
||||||
fw_pin_setup->setActive(pin_setup_notifier->changeNotify());
|
pin_setup_notifier->changeNotify();
|
||||||
p_widget->addItem(fw_pin_setup);
|
p_widget->addItem(fw_pin_setup);
|
||||||
|
|
||||||
p_widget->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_PERSONALIZE_MENUCONFIGURATION));
|
p_widget->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_PERSONALIZE_MENUCONFIGURATION));
|
||||||
|
Reference in New Issue
Block a user