forked from qt-creator/qt-creator
AdvancedDockingSystem: Fix dropWidget()
I believe the original intention was to pass dockWidget
into notifyWidgetOrAreaRelocation(), otherwise the whole
"if (!dockWidget)" condition above would be no-op.
(cherry picked from commit 4080f31d25
)
Change-Id: I0b809ec6587489eaf5e4f79c5c16f26bbb8346c2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -1215,7 +1215,7 @@ namespace ADS
|
|||||||
}
|
}
|
||||||
|
|
||||||
window()->activateWindow();
|
window()->activateWindow();
|
||||||
d->m_dockManager->notifyWidgetOrAreaRelocation(widget);
|
d->m_dockManager->notifyWidgetOrAreaRelocation(dockWidget);
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<DockAreaWidget *> DockContainerWidget::openedDockAreas() const
|
QList<DockAreaWidget *> DockContainerWidget::openedDockAreas() const
|
||||||
|
Reference in New Issue
Block a user