diff --git a/src/DockWidgetTab.cpp b/src/DockWidgetTab.cpp index 4c9b0c2..b57619e 100644 --- a/src/DockWidgetTab.cpp +++ b/src/DockWidgetTab.cpp @@ -417,7 +417,10 @@ void CDockWidgetTab::mouseReleaseEvent(QMouseEvent* ev) break; default: - d->focusController()->setDockWidgetTabPressed(false); + if (CDockManager::testConfigFlag(CDockManager::FocusHighlighting)) + { + d->focusController()->setDockWidgetTabPressed(false); + } break; // do nothing } }