From c6f16544fc46635ccbf5765b10d06cf285ab6538 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 5 Jun 2012 21:46:40 +0200 Subject: [PATCH] personalize: changeNotify - no repaint menu after changed option values reduces the flicker effect on screen Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/24dd74e471cec85bfa549dd7a3b612e625da8b4a Author: Thilo Graf Date: 2012-06-05 (Tue, 05 Jun 2012) --- src/gui/personalize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/personalize.cpp b/src/gui/personalize.cpp index b0a9e3729..2b089178a 100644 --- a/src/gui/personalize.cpp +++ b/src/gui/personalize.cpp @@ -577,7 +577,7 @@ bool CPersonalizeGui::changeNotify(const neutrino_locale_t locale, void *data) } } } - return true; + return false; } //shows a short help message @@ -912,7 +912,7 @@ bool CUserMenuNotifier::changeNotify(const neutrino_locale_t, void *) toDisable[0]->setActive(g_settings.personalize[SNeutrinoSettings::P_MAIN_RED_BUTTON]); toDisable[1]->setActive(g_settings.personalize[SNeutrinoSettings::P_MAIN_BLUE_BUTTON]); - return true; + return false; } //helper class to enable/disable pin setup