VirtualBox

Changeset 102480 in vbox for trunk


Ignore:
Timestamp:
Dec 5, 2023 3:26:49 PM (10 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9340. Make sure the newly create medium item is centered in the tree widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp

    r100896 r102480  
    610610        QModelIndex itemIndex = m_pTreeWidget->itemIndex(pMediumItem);
    611611        if (itemIndex.isValid())
    612             m_pTreeWidget->scrollTo(itemIndex, QAbstractItemView::EnsureVisible);
     612            m_pTreeWidget->scrollTo(itemIndex, QAbstractItemView::PositionAtCenter);
    613613    }
    614614}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette