From b45c8b264df62a3d95a59248a9f0f96e185d011e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 1 May 2014 16:22:22 +0200 Subject: [PATCH] CComponentsButton: reinit button items after changed font type Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2256c83b9828685af133fd036aab97874cea1093 Author: Thilo Graf Date: 2014-05-01 (Thu, 01 May 2014) --- src/gui/components/cc_frm_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index c4aabeb06..d3dabcd82 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -112,7 +112,7 @@ class CComponentsButton : public CComponentsFrmChain virtual neutrino_locale_t getCaptionLocale(){return cc_btn_capt_locale;}; ///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font - virtual void setButtonFont(Font* font){cc_btn_font = font;}; + virtual void setButtonFont(Font* font){cc_btn_font = font; initCCBtnItems();}; ///reinitialize items virtual void Refresh(){initCCBtnItems();};