- Timestamp:
- Aug 11, 2012 2:39:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp
r42722 r42768 497 497 498 498 /* Check if element is present already: */ 499 bool fJustCreated = false;500 499 UIGDetailsElement *pElement = element(elementType); 501 500 /* Create if necessary: */ 502 501 if (!pElement) 503 {504 502 pElement = createElement(elementType, fOpen); 505 fJustCreated = true;506 }507 503 /* Prepare element: */ 508 504 if (fVisible && !pElement->isVisible()) … … 512 508 if (pElement->isVisible()) 513 509 pElement->updateAppearance(); 514 if (fJustCreated) 515 model()->updateLayout(); 510 model()->updateLayout(); 516 511 /* Mark element prepared: */ 517 512 emit sigElementPrepared(strSetId);
Note:
See TracChangeset
for help on using the changeset viewer.