Fix corruption a pattern after using Union Details tool.
--HG-- branch : develop
This commit is contained in:
parent
a1774149f6
commit
5edc241426
|
@ -142,6 +142,19 @@ void VAbstractNode::GroupVisibility(quint32 object, bool visible)
|
|||
Q_UNUSED(visible)
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VAbstractNode::ToolCreation(const Source &typeCreation)
|
||||
{
|
||||
if (typeCreation == Source::FromGui || typeCreation == Source::FromTool)
|
||||
{
|
||||
AddToFile();
|
||||
}
|
||||
else
|
||||
{
|
||||
RefreshDataInFile();
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @brief AddToModeling add tag to modeling tag current pattern peace.
|
||||
|
|
|
@ -67,6 +67,8 @@ public:
|
|||
|
||||
protected:
|
||||
ParentType parentType;
|
||||
|
||||
virtual void ToolCreation(const Source &typeCreation) Q_DECL_OVERRIDE;
|
||||
protected:
|
||||
/** @brief idNodenode id. */
|
||||
quint32 idNode;
|
||||
|
|
Loading…
Reference in New Issue
Block a user