mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Fixed nullptr access in DockWidgetTab
This commit is contained in:
parent
34cc91a9af
commit
09e4e6fa5a
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user