Added new CDockWidget feature flag focusable

This commit is contained in:
Uwe Kindler
2020-07-03 14:55:33 +02:00
parent 281127c2c3
commit 679fa81f6d
3 changed files with 11 additions and 3 deletions

View File

@@ -103,6 +103,11 @@ DockFocusControllerPrivate::DockFocusControllerPrivate(
//============================================================================
void DockFocusControllerPrivate::updateDockWidgetFocus(CDockWidget* DockWidget)
{
if (!DockWidget->features().testFlag(CDockWidget::DockWidgetFocusable))
{
return;
}
CDockAreaWidget* NewFocusedDockArea = nullptr;
if (FocusedDockWidget)
{