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());
|
setPosition(screen()->availableGeometry().topLeft());
|
||||||
setGeometry(screen()->availableGeometry());
|
setGeometry(screen()->availableGeometry());
|
||||||
} else {
|
} else if (m_visualParent) {
|
||||||
if (!m_cachedGeometry.isNull()) {
|
if (!m_cachedGeometry.isNull()) {
|
||||||
resize(m_cachedGeometry.size());
|
resize(m_cachedGeometry.size());
|
||||||
syncMainItemToSize();
|
syncMainItemToSize();
|
||||||
|
Loading…
Reference in New Issue
Block a user