Changeset 80443 in vbox
- Timestamp:
- Aug 27, 2019 4:48:40 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132932
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r79365 r80443 580 580 /* Relayout: */ 581 581 updateLayout(); 582 583 /* Make current item visible asynchronously: */ 584 QMetaObject::invokeMethod(this, "sltMakeSureCurrentItemVisible", Qt::QueuedConnection); 582 585 } 583 586 … … 698 701 /* Notify listeners about selection change: */ 699 702 emit sigSelectionChanged(); 703 } 704 705 void UIChooserModel::sltMakeSureCurrentItemVisible() 706 { 707 root()->toGroupItem()->makeSureItemIsVisible(currentItem()); 700 708 } 701 709 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
r77948 r80443 253 253 /** @name Selection stuff. 254 254 * @{ */ 255 /** Makes sure current item is visible. */ 256 void sltMakeSureCurrentItemVisible(); 257 255 258 /** Handles current-item destruction. */ 256 259 void sltCurrentItemDestroyed();
Note:
See TracChangeset
for help on using the changeset viewer.