From 891b2e9ad2f4f8023ff4234b711d7a14ae705c55 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 29 Apr 2017 18:09:16 +0200 Subject: [PATCH 1/2] cc_frm_chain.cpp: fix c/p error in comment --- src/gui/components/cc_frm_chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_chain.cpp b/src/gui/components/cc_frm_chain.cpp index b08343e46..dcc261265 100644 --- a/src/gui/components/cc_frm_chain.cpp +++ b/src/gui/components/cc_frm_chain.cpp @@ -41,7 +41,7 @@ using namespace std; | +--------+ +--------+ +--------+ | | | item | | item | | item | | | +--------+ +--------+ +--------+ | - | chn_t_offset | + | chn_b_offset | +------------------------------------------------------------------------------------+ */ From 1e4967e114bfa5a6a054d062cc5d245cd48219ae Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 29 Apr 2017 22:46:06 +0200 Subject: [PATCH 2/2] CChannelList: Ensure new initialize of modules on palette changes while runtime. --- src/gui/channellist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 22abc6782..e03acf7e8 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -132,6 +132,7 @@ CChannelList::CChannelList(const char * const pName, bool phistoryMode, bool _vl channelsChanged = false; paint_events_index = -2; + CFrameBuffer::getInstance()->OnAfterSetPallette.connect(sigc::mem_fun(this, &CChannelList::ResetModules)); } CChannelList::~CChannelList()