Skip to content

Commit

Permalink
Use the same name as parent for the extended component.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Mar 18, 2016
1 parent bd77ae1 commit b943865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Component/Component.cpp
Expand Up @@ -397,7 +397,7 @@ Component::Component(LibraryTreeItem *pLibraryTreeItem, Component *pParentCompon
{
mpLibraryTreeItem = pLibraryTreeItem;
mpComponentInfo = new ComponentInfo;
mpComponentInfo->setName(mpLibraryTreeItem->getName());
mpComponentInfo->setName(mpParentComponent->getComponentInfo()->getName());
mpComponentInfo->setClassName(mpLibraryTreeItem->getNameStructure());
mpGraphicsView = mpParentComponent->getGraphicsView();
mIsInheritedComponent = mpParentComponent->isInheritedComponent();
Expand Down

0 comments on commit b943865

Please sign in to comment.