Don't reposition while hiding.
BUG:354352
This commit is contained in:
parent
9ccc6293f7
commit
8ce47c5f1e
@ -1229,7 +1229,7 @@ void Dialog::setVisible(bool visible)
|
|||||||
|
|
||||||
d->visible = visible;
|
d->visible = visible;
|
||||||
if (d->componentComplete) {
|
if (d->componentComplete) {
|
||||||
if (d->visualParent) {
|
if (visible && d->visualParent) {
|
||||||
setPosition(popupPosition(d->visualParent, size()));
|
setPosition(popupPosition(d->visualParent, size()));
|
||||||
}
|
}
|
||||||
QQuickWindow::setVisible(visible);
|
QQuickWindow::setVisible(visible);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user