From 93d82884236d5e8e2c62dca33320ed16e447666a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 1 Nov 2014 17:18:42 +0100 Subject: [PATCH] CComponentsFooter: fix button view with gradient show contour only in gradient mode Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/0f8c1829d82b2ba85a2f5d7494443987883dcb04 Author: Thilo Graf Date: 2014-11-01 (Sat, 01 Nov 2014) --- src/gui/components/cc_frm_footer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_footer.cpp b/src/gui/components/cc_frm_footer.cpp index 6cac356f6..3d02f61c6 100644 --- a/src/gui/components/cc_frm_footer.cpp +++ b/src/gui/components/cc_frm_footer.cpp @@ -82,7 +82,7 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const corner_rad = RADIUS_LARGE; corner_type = CORNER_BOTTOM; - btn_contour = false; + btn_contour = g_settings.gradiant; ccf_btn_font = NULL; chain = NULL;