Index: /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp	(revision 87270)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp	(revision 87271)
@@ -441,9 +441,31 @@
     /* Save the setting: */
     gEDataManager->setHostNetworkManagerDetailsExpanded(fVisible);
-    /* Show/hide details area and Apply button: */
-    if (m_pDetailsWidgetHostNetwork)
-        m_pDetailsWidgetHostNetwork->setVisible(fVisible);
+    /* Show/hide details area and Apply/Reset buttons: */
+    switch (m_pTabWidget->currentIndex())
+    {
+        case TabWidgetIndex_HostNetwork:
+        {
+            if (m_pDetailsWidgetHostNetwork)
+                m_pDetailsWidgetHostNetwork->setVisible(fVisible);
+            break;
+        }
+    }
     /* Notify external listeners: */
     emit sigDetailsVisibilityChanged(fVisible);
+}
+
+void UINetworkManagerWidget::sltHandleCurrentTabWidgetIndexChange()
+{
+    /* Show/hide details area and Apply/Reset buttons: */
+    const bool fVisible = m_pActionPool->action(UIActionIndexMN_M_Network_T_Details)->isChecked();
+    switch (m_pTabWidget->currentIndex())
+    {
+        case TabWidgetIndex_HostNetwork:
+        {
+            if (m_pDetailsWidgetHostNetwork)
+                m_pDetailsWidgetHostNetwork->setVisible(fVisible);
+            break;
+        }
+    }
 }
 
@@ -543,4 +565,5 @@
                 if (!comServer.isOk())
                     msgCenter().cannotSaveDHCPServerParameter(comServer, this);
+                else
                 {
                     /* Update interface in the tree: */
@@ -570,5 +593,4 @@
     /* Update actions availability: */
     m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove)->setEnabled(pItem);
-    m_pActionPool->action(UIActionIndexMN_M_Network_T_Details)->setEnabled(pItem);
 
     /* Check host network details-widget: */
@@ -783,6 +805,10 @@
         if (m_fShowToolbar)
             prepareToolBar();
+
         /* Prepare tab-widget: */
         prepareTabWidget();
+
+        /* Prepare details widgets: */
+        prepareDetailsWidgetHostNetwork();
     }
 }
@@ -790,14 +816,11 @@
 void UINetworkManagerWidget::prepareToolBar()
 {
-    /* Create toolbar: */
+    /* Prepare toolbar: */
     m_pToolBar = new QIToolBar(parentWidget());
     if (m_pToolBar)
     {
-        /* Configure toolbar: */
         const int iIconMetric = (int)(QApplication::style()->pixelMetric(QStyle::PM_LargeIconSize));
         m_pToolBar->setIconSize(QSize(iIconMetric, iIconMetric));
         m_pToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
-
-        /* Add toolbar actions: */
         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Create));
         m_pToolBar->addSeparator();
@@ -825,4 +848,7 @@
     if (m_pTabWidget)
     {
+        connect(m_pTabWidget, &QITabWidget::currentChanged,
+                this, &UINetworkManagerWidget::sltHandleCurrentTabWidgetIndexChange);
+
         prepareTabHostNetwork();
 
@@ -841,8 +867,5 @@
         m_pLayoutHostNetwork = new QVBoxLayout(m_pTabHostNetwork);
         if (m_pLayoutHostNetwork)
-        {
             prepareTreeWidgetHostNetwork();
-            prepareDetailsWidgetHostNetwork();
-        }
 
         /* Add into tab-widget: */
@@ -882,5 +905,5 @@
 {
     /* Prepare host network details-widget: */
-    m_pDetailsWidgetHostNetwork = new UIDetailsWidgetHostNetwork(m_enmEmbedding, m_pTabHostNetwork);
+    m_pDetailsWidgetHostNetwork = new UIDetailsWidgetHostNetwork(m_enmEmbedding, this);
     if (m_pDetailsWidgetHostNetwork)
     {
@@ -895,5 +918,5 @@
 
         /* Add into layout: */
-        m_pLayoutHostNetwork->addWidget(m_pDetailsWidgetHostNetwork);
+        layout()->addWidget(m_pDetailsWidgetHostNetwork);
     }
 }
Index: /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.h	(revision 87270)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.h	(revision 87271)
@@ -113,4 +113,7 @@
     /** @name Tree-widget stuff.
       * @{ */
+        /** Handles current tab-widget's index change. */
+        void sltHandleCurrentTabWidgetIndexChange();
+
         /** Handles command to adjust tree-widget. */
         void sltAdjustTreeWidgets();
