mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 18:27:16 +01:00
Bug 2425 fixed
This commit is contained in:
parent
6d0194c5f2
commit
ce8bd98102
@ -2441,7 +2441,13 @@ FWObject* ObjectManipulator::copyObj2Tree(const QString &objType, const QString
|
||||
return 0;
|
||||
if (!parent)
|
||||
parent=m_project->getStandardSlotForObject(lib, objType);
|
||||
return pasteTo (parent, copyFrom);
|
||||
FWObject *nobj = pasteTo (parent, copyFrom);
|
||||
if (nobj && Firewall::isA(nobj))
|
||||
{
|
||||
m_project->addFirewallToList(nobj);
|
||||
m_project->showFirewall(nobj);
|
||||
}
|
||||
return nobj;
|
||||
}
|
||||
|
||||
FWObject* ObjectManipulator::actuallyCreateObject(FWObject *parent,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user