儲存庫 vbox 的更動 66782
- 時間撮記:
- 2017-5-4 上午11:05:09 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/hostnetwork/UIHostNetworkManager.cpp
r66781 r66782 551 551 } 552 552 553 /* Update interface in the tree: */ 554 UIDataHostNetwork data; 555 loadHostNetwork(comInterface, data); 556 updateItemForNetworkHost(data, true, pItem); 557 558 /* Make sure current item fetched: */ 559 sltHandleCurrentItemChange(); 560 561 /* Adjust tree-widget: */ 562 sltAdjustTreeWidget(); 553 /* Find corresponding interface again (if necessary): */ 554 if (!comInterface.isOk()) 555 comInterface = comHost.FindHostNetworkInterfaceByName(oldData.m_interface.m_strName); 556 557 /* Show error message if necessary: */ 558 if (!comHost.isOk() || comInterface.isNull()) 559 msgCenter().cannotFindHostNetworkInterface(comHost, oldData.m_interface.m_strName, this); 560 561 /* If interface is Ok now: */ 562 if (comInterface.isNotNull() && comInterface.isOk()) 563 { 564 /* Update interface in the tree: */ 565 UIDataHostNetwork data; 566 loadHostNetwork(comInterface, data); 567 updateItemForNetworkHost(data, true, pItem); 568 569 /* Make sure current item fetched: */ 570 sltHandleCurrentItemChange(); 571 572 /* Adjust tree-widget: */ 573 sltAdjustTreeWidget(); 574 } 563 575 } 564 576 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器