Merge branch 'ni/cst-next' into ni/mp/cst-next

Origin commit data
------------------
Commit: 0d035edb33
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-29 (Thu, 29 Sep 2016)
This commit is contained in:
vanhofen
2016-09-29 11:59:40 +02:00
4 changed files with 5 additions and 3 deletions

View File

@@ -55,6 +55,8 @@ CComponentsItem::CComponentsItem(CComponentsForm* parent)
void CComponentsItem::initParent(CComponentsForm* parent)
{
if (cc_parent == parent)
return;
cc_parent = parent;
if (cc_parent)
cc_parent->addCCItem(this);