Changeset 65628 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 6, 2017 3:11:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r65602 r65628 539 539 foreach (const UIDataNetworkNAT &network, m_cache.m_networksNAT) 540 540 createTreeItemNetworkNAT(network); 541 m_pTreeNetworkNAT->sortByColumn(1, Qt::AscendingOrder); 541 542 m_pTreeNetworkNAT->setCurrentItem(m_pTreeNetworkNAT->topLevelItem(0)); 542 543 sltHandleCurrentItemChangeNetworkNAT(); … … 545 546 foreach (const UIDataNetworkHost &network, m_cache.m_networksHost) 546 547 createTreeItemNetworkHost(network); 548 m_pTreeNetworkHost->sortByColumn(0, Qt::AscendingOrder); 547 549 m_pTreeNetworkHost->setCurrentItem(m_pTreeNetworkHost->topLevelItem(0)); 548 550 sltHandleCurrentItemChangeNetworkHost(); … … 743 745 /* Update tree: */ 744 746 createTreeItemNetworkNAT(generateDataNetworkNAT(network), true); 747 m_pTreeNetworkNAT->sortByColumn(1, Qt::AscendingOrder); 745 748 } 746 749 … … 833 836 /* Update tree: */ 834 837 createTreeItemNetworkHost(generateDataNetworkHost(iface), true); 838 m_pTreeNetworkHost->sortByColumn(0, Qt::AscendingOrder); 835 839 } 836 840
Note:
See TracChangeset
for help on using the changeset viewer.