Small change to fix issue #445

This commit is contained in:
Uwe Kindler 2022-08-29 11:11:08 +02:00
parent f3bb1b17d0
commit efd88565a9

View File

@ -431,6 +431,7 @@ DockWidgetArea CDockOverlay::showOverlay(QWidget* target)
d->LastLocation = InvalidDockWidgetArea;
// Move it over the target.
hide();
resize(target->size());
QPoint TopLeft = target->mapToGlobal(target->rect().topLeft());
move(TopLeft);