mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 00:19:55 +02:00
2023243 IPv6 - Some objects missing from context menus
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2008-08-01 vadim <vadim@vk.crocodile.org>
|
||||
|
||||
* ObjectManipulator.cpp (ObjectManipulator::contextMenuRequested):
|
||||
fixed bug #2023243: "IPv6 - Some objects missing from context
|
||||
menus". Added items "New Address IPv6" and "New Network IPv6" to
|
||||
context menus associated with folders "Addresses" and "Networks"
|
||||
in the tree.
|
||||
|
||||
2008-08-01 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* Fixed build on Mac, starting with rev 433 code is built with QT
|
||||
|
||||
@@ -1030,6 +1030,8 @@ void ObjectManipulator::contextMenuRequested(const QPoint &pos)
|
||||
{
|
||||
newID1=popup->addAction( tr("New Address"), this,
|
||||
SLOT( newAddress() ) );
|
||||
newID1=popup->addAction( tr("New Address IPv6"), this,
|
||||
SLOT( newAddressIPv6() ) );
|
||||
}
|
||||
if (currentObj->getPath(true)=="Objects/DNS Names")
|
||||
{
|
||||
@@ -1052,9 +1054,12 @@ void ObjectManipulator::contextMenuRequested(const QPoint &pos)
|
||||
SLOT( newHost() ) );
|
||||
|
||||
if (currentObj->getPath(true)=="Objects/Networks")
|
||||
{
|
||||
newID1=popup->addAction( tr("New Network"), this,
|
||||
SLOT( newNetwork() ) );
|
||||
|
||||
newID1=popup->addAction( tr("New Network IPv6"), this,
|
||||
SLOT( newNetworkIPv6() ) );
|
||||
}
|
||||
if (currentObj->getPath(true)=="Objects/Groups")
|
||||
newID1=popup->addAction( tr("New Group"), this,
|
||||
SLOT( newObjectGroup() ) );
|
||||
|
||||
Reference in New Issue
Block a user