Changeset 55985 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 20, 2015 7:40:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.cpp
r55914 r55985 542 542 return; 543 543 544 /* Exclude itself from the current items: */ 545 if (model()->currentItems().contains(this)) 546 model()->removeFromCurrentItems(this); 547 /* Move the focus item to the first available current after that: */ 548 if (model()->focusItem() == this && !model()->currentItems().isEmpty()) 549 model()->setFocusItem(model()->currentItems().first()); 550 544 551 /* Remove item: */ 545 552 delete this;
Note:
See TracChangeset
for help on using the changeset viewer.