ItemChildRemovedChange handling added
This commit is contained in:
parent
5f31eb1e78
commit
b31f94225d
@ -915,10 +915,16 @@ void QskControl::itemChange( QQuickItem::ItemChange change,
|
||||
break;
|
||||
}
|
||||
case QQuickItem::ItemChildAddedChange:
|
||||
case QQuickItem::ItemChildRemovedChange:
|
||||
{
|
||||
if ( autoLayoutChildren() && qskIsAdjustableByLayout( value.item ) )
|
||||
polish();
|
||||
if ( autoLayoutChildren() )
|
||||
{
|
||||
if ( qskIsVisibleToLayout( value.item ) )
|
||||
resetImplicitSize();
|
||||
|
||||
if ( qskIsAdjustableByLayout( value.item ) )
|
||||
polish();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case QQuickItem::ItemActiveFocusHasChanged:
|
||||
|
Loading…
x
Reference in New Issue
Block a user