Changeset 10221 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 4, 2008 12:30:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxDiskImageManagerDlg.cpp
r10090 r10221 1497 1497 DiskImageItem *item = toDiskImageItem (aItem); 1498 1498 1499 if (!item )1499 if (!item && aPrevItem) 1500 1500 { 1501 1501 DiskImageItem *itemOld = toDiskImageItem (aPrevItem); … … 1503 1503 * item is 0, set the old item again. */ 1504 1504 setCurrentItem (currentTreeWidget(), itemOld); 1505 return; 1506 } 1507 1508 /* Set the file for the proxy icon */ 1509 setFileForProxyIcon (item->path()); 1510 1511 /* Ensures current item visible every time we are switching page */ 1512 item->treeWidget()->scrollToItem (item, QAbstractItemView::EnsureVisible); 1505 } 1506 1507 if (item) 1508 { 1509 /* Set the file for the proxy icon */ 1510 setFileForProxyIcon (item->path()); 1511 /* Ensures current item visible every time we are switching page */ 1512 item->treeWidget()->scrollToItem (item, QAbstractItemView::EnsureVisible); 1513 } 1513 1514 1514 1515 bool notInEnum = !vboxGlobal().isMediaEnumerationStarted();
Note:
See TracChangeset
for help on using the changeset viewer.