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. Change-Id: I0b809ec6587489eaf5e4f79c5c16f26bbb8346c2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Henning Gründl <henning.gruendl@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