don't autoposition if there is no visualParent
This commit is contained in:
parent
c71d539b25
commit
ad4fecf426
@ -136,7 +136,7 @@ void DialogProxy::onVisibleChanged()
|
||||
}
|
||||
setPosition(screen()->availableGeometry().topLeft());
|
||||
setGeometry(screen()->availableGeometry());
|
||||
} else {
|
||||
} else if (m_visualParent) {
|
||||
if (!m_cachedGeometry.isNull()) {
|
||||
resize(m_cachedGeometry.size());
|
||||
syncMainItemToSize();
|
||||
|
Loading…
Reference in New Issue
Block a user