fix crash from Close button in config window

BUG: 405772
pull/5/head
Michail Vourlakos 6 years ago
parent d8c04e805c
commit b93588756a

@ -149,7 +149,7 @@ QRect SecondaryConfigView::geometryWhenVisible() const
void SecondaryConfigView::syncGeometry()
{
if (!m_latteView || !m_latteView->managedLayout() || !m_latteView->containment() || !rootObject()) {
if (!m_latteView || !m_latteView->managedLayout() || !m_latteView->containment() || !m_parent || !rootObject()) {
return;
}

Loading…
Cancel
Save