Changeset 84589 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 28, 2020 12:52:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r84587 r84589 689 689 emit sigSelectionInvalidated(); 690 690 } 691 692 /* Save groups finally: */ 691 693 saveGroups(); 692 694 } … … 1592 1594 return; 1593 1595 1594 /* Remove all the passed nodes: */ 1596 /* Find and select closest unselected item: */ 1597 setSelectedItem(findClosestUnselectedItem()); 1598 1599 /* Remove nodes of all the passed items: */ 1595 1600 foreach (UIChooserItemMachine *pItem, machineItems) 1596 1601 delete pItem->node(); … … 1599 1604 wipeOutEmptyGroups(); 1600 1605 updateTreeForMainRoot(); 1601 if (!navigationItems().isEmpty()) 1602 { 1603 setSelectedItem(navigationItems().first()); 1604 emit sigSelectionInvalidated(); 1605 } 1606 else 1607 clearSelectedItems(); 1606 1607 /* Save groups finally: */ 1608 1608 saveGroups(); 1609 1609 }
Note:
See TracChangeset
for help on using the changeset viewer.