mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +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))
|
if (testConfigFlag(CDockManager::TabCloseButtonIsToolButton))
|
||||||
{
|
{
|
||||||
return new QToolButton();
|
auto Button = new QToolButton();
|
||||||
|
Button->setAutoRaise(true);
|
||||||
|
return Button;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user