VirtualBox

Changeset 86706 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 26, 2020 1:22:06 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: Hot-fixing crash on tree rebuild if D&D is initiated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp

    r86705 r86706  
    17681768void UIChooserModel::buildTreeForMainRoot(bool fPreserveSelection /* = false */)
    17691769{
     1770    /* This isn't safe if dragging is started and needs to be fixed properly,
     1771     * but for now we will just ignore build request: */
     1772    /// @todo Make sure D&D is safe on tree rebuild
     1773    if (m_pCurrentDragObject)
     1774        return;
     1775
    17701776    /* Remember scrolling location: */
    17711777    const int iScrollLocation = m_pRoot ? m_pRoot->toGroupItem()->scrollingValue() : 0;
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