From 4321b8226e84cf9480040659822c38f641f7ab0e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 6 Nov 2013 14:17:55 +0400 Subject: [PATCH] gui/personalize.cpp: fix pin change active/enactive, broken after commit 688222f0ce5d56ba8221343891cf3884a9a4ef58 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/40e3106e5377127b946a9c4698e65fea3e36e2ba Author: [CST] Focus Date: 2013-11-06 (Wed, 06 Nov 2013) --- src/gui/personalize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/personalize.cpp b/src/gui/personalize.cpp index 0db1700a4..d9637f11a 100644 --- a/src/gui/personalize.cpp +++ b/src/gui/personalize.cpp @@ -378,7 +378,7 @@ void CPersonalizeGui::ShowPinSetup(CMenuWidget* p_widget, CPINChangeWidget * &pi 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)); - fw_pin_setup->setActive(pin_setup_notifier->changeNotify()); + pin_setup_notifier->changeNotify(); p_widget->addItem(fw_pin_setup); p_widget->addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_PERSONALIZE_MENUCONFIGURATION));