diff --git a/src/controls/QskDrawer.cpp b/src/controls/QskDrawer.cpp index ec00c84e..905a5987 100644 --- a/src/controls/QskDrawer.cpp +++ b/src/controls/QskDrawer.cpp @@ -63,6 +63,9 @@ void QskDrawer::setEdge( Qt::Edge edge ) void QskDrawer::setContent( QskControl* content ) { content->setParentItem( m_data->contentBox ); + if ( content->parent() == nullptr ) + content->setParent( m_data->contentBox ); + m_data->content = content; }