1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-20 18:27:16 +01:00

Bug 2425 fixed

This commit is contained in:
2008-03-05 14:50:00 +00:00
parent 6d0194c5f2
commit ce8bd98102

View File

@ -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,