Added window()->activateWindow() dropFloatingWidget() function

This commit is contained in:
Uwe Kindler 2020-05-20 14:20:27 +02:00
parent ba94ef3493
commit 4da810ba7c

View File

@ -1459,6 +1459,8 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
// level widget anymore
CDockWidget::emitTopLevelEventForWidget(SingleDockWidget, false);
}
window()->activateWindow();
}
@ -1490,7 +1492,7 @@ void CDockContainerWidget::dropWidget(QWidget* Widget, DockWidgetArea DropArea,
}
}
this->window()->activateWindow();
window()->activateWindow();
d->DockManager->emitWidgetDroppedSignals(Widget);
}