diff --git a/src/gui/components/cc_frm_window.cpp b/src/gui/components/cc_frm_window.cpp index b1c207c2a..de7f91888 100644 --- a/src/gui/components/cc_frm_window.cpp +++ b/src/gui/components/cc_frm_window.cpp @@ -212,10 +212,6 @@ void CComponentsWindow::initCCWItems() #ifdef DEBUG_CC printf("[CComponentsWindow] [%s - %d] init items...\n", __func__, __LINE__); #endif - initHeader(); - initFooter(); - initBody(); - //add/remove header if required if (ccw_show_header){ initHeader(); @@ -236,6 +232,8 @@ void CComponentsWindow::initCCWItems() } } + initBody(); + //add header, body and footer items only one time if (ccw_head) if (!ccw_head->isAdded())