mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-21 07:04:52 +02:00
see #2634 User cant duplicate or move MAC Address objects
This commit is contained in:
@@ -471,8 +471,11 @@ void ObjectManipulator::contextMenuRequested(const QPoint &pos)
|
||||
QMenu *movetargets = NULL;
|
||||
int moveTargetsCounter = 0;
|
||||
|
||||
if (!Interface::isA(currentObj) && RuleSet::cast(currentObj)==NULL &&
|
||||
!Library::isA(currentObj) && !FWBTree().isStandardFolder(currentObj))
|
||||
if (!Interface::isA(currentObj) &&
|
||||
!physAddress::isA(currentObj) &&
|
||||
RuleSet::cast(currentObj)==NULL &&
|
||||
!Library::isA(currentObj) &&
|
||||
!FWBTree().isStandardFolder(currentObj))
|
||||
{
|
||||
duptargets = popup_menu->addMenu( tr("Duplicate ...") );
|
||||
movetargets = popup_menu->addMenu( tr("Move ...") );
|
||||
|
||||
Reference in New Issue
Block a user