From d09c6a7c3ca64050e5aeb73a2d4411c98ee34973 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 23 Jun 2013 22:28:23 +0200 Subject: [PATCH] CComponentsForm: use addCCItem() instead push_back push_back doesn't make all necessary steps to add an item Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/460c8bbff3560dd2a7037b58e7de245d645d0c1a Author: Thilo Graf Date: 2013-06-23 (Sun, 23 Jun 2013) ------------------ This commit was generated by Migit --- src/gui/components/cc_frm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index ebc65a028..7cba3c969 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -227,7 +227,7 @@ void CComponentsForm::insertCCItem(const uint& cc_item_id, CComponentsItem* cc_I } if (v_cc_items.empty()){ - v_cc_items.push_back(cc_Item); + addCCItem(cc_Item); #ifdef DEBUG_CC printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__); #endif