From 0652b6ab05a21d0e7aeb66ab1c7bb5c3c31cb1fe Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 3 Mar 2015 23:03:31 +0100 Subject: [PATCH] COsdSetup: use paint for apply new gradient settings, reduced flicker effects Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/eb3971e9090dd798ec7e3e2aa436d53c776b271c Author: Thilo Graf Date: 2015-03-03 (Tue, 03 Mar 2015) --- src/gui/osd_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 8b393a13b..6172918ea 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -1136,8 +1136,8 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data) return false; } else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLOR_GRADIENT)) { - osd_menu->hide(); - return true; + osd_menu->paint(); + return false; } else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) { int preset = * (int *) data;