VirtualBox

Changeset 42768 in vbox for trunk


Ignore:
Timestamp:
Aug 11, 2012 2:39:46 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6234: Support for VM groups: Details-view layout update bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp

    r42722 r42768  
    497497
    498498        /* Check if element is present already: */
    499         bool fJustCreated = false;
    500499        UIGDetailsElement *pElement = element(elementType);
    501500        /* Create if necessary: */
    502501        if (!pElement)
    503         {
    504502            pElement = createElement(elementType, fOpen);
    505             fJustCreated = true;
    506         }
    507503        /* Prepare element: */
    508504        if (fVisible && !pElement->isVisible())
     
    512508        if (pElement->isVisible())
    513509            pElement->updateAppearance();
    514         if (fJustCreated)
    515             model()->updateLayout();
     510        model()->updateLayout();
    516511        /* Mark element prepared: */
    517512        emit sigElementPrepared(strSetId);
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