mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-01 02:42:39 +08:00
Fixed #581 - FocusHighlighting is broken after detaching a dock widget
This commit is contained in:
parent
59b4dfb89c
commit
761bfc50d6
@ -421,12 +421,13 @@ void CDockWidgetTab::mouseReleaseEvent(QMouseEvent* ev)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (CDockManager::testConfigFlag(CDockManager::FocusHighlighting))
|
if (CDockManager::testConfigFlag(CDockManager::FocusHighlighting))
|
||||||
{
|
{
|
||||||
d->focusController()->setDockWidgetTabPressed(false);
|
d->focusController()->setDockWidgetTabPressed(false);
|
||||||
}
|
}
|
||||||
break; // do nothing
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (ev->button() == Qt::MiddleButton)
|
else if (ev->button() == Qt::MiddleButton)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user