mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsForm: use addCCItem() instead push_back
push_back doesn't make all necessary steps to add an item
This commit is contained in:
@@ -227,7 +227,7 @@ void CComponentsForm::insertCCItem(const uint& cc_item_id, CComponentsItem* cc_I
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (v_cc_items.empty()){
|
if (v_cc_items.empty()){
|
||||||
v_cc_items.push_back(cc_Item);
|
addCCItem(cc_Item);
|
||||||
#ifdef DEBUG_CC
|
#ifdef DEBUG_CC
|
||||||
printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__);
|
printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user