setAllowedAreas for individual DockAreaWidget (#107)

* setAllowedAreas for individual DockAreaWidget

* alligning tab policy with master
This commit is contained in:
mvidelgauz
2020-02-02 16:56:31 +02:00
committed by GitHub
parent 9fe8f291fb
commit 6c3f82547d
6 changed files with 33 additions and 6 deletions

View File

@@ -207,7 +207,7 @@ void FloatingDockContainerPrivate::updateDropOverlays(const QPoint &GlobalPos)
{
DockAreaOverlay->enableDropPreview(true);
DockAreaOverlay->setAllowedAreas(
(VisibleDockAreas == 1) ? NoDockWidgetArea : AllDockAreas);
(VisibleDockAreas == 1) ? NoDockWidgetArea : DockArea->allowedAreas());
DockWidgetArea Area = DockAreaOverlay->showOverlay(DockArea);
// A CenterDockWidgetArea for the dockAreaOverlay() indicates that