2023243 IPv6 - Some objects missing from context menus

This commit is contained in:
Vadim Kurland
2008-08-02 04:19:42 +00:00
parent df22c7c45a
commit 5ffdd891e3
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
#define BUILD_NUM 432
#define BUILD_NUM 433
+8
View File
@@ -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
+6 -1
View File
@@ -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() ) );