mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Set autoRaise property to true for QToolButton of DockWidgetTab
This commit is contained in:
parent
2c7764ecf7
commit
c5e7104413
@ -129,7 +129,9 @@ struct DockWidgetTabPrivate
|
||||
{
|
||||
if (testConfigFlag(CDockManager::TabCloseButtonIsToolButton))
|
||||
{
|
||||
return new QToolButton();
|
||||
auto Button = new QToolButton();
|
||||
Button->setAutoRaise(true);
|
||||
return Button;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user