mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Properly update DockAreaTabBar geometry if tab text changed
This commit is contained in:
parent
e6e83d5775
commit
acfc96f57c
@ -456,6 +456,11 @@ bool CDockAreaTabBar::eventFilter(QObject *watched, QEvent *event)
|
|||||||
updateGeometry();
|
updateGeometry();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Setting the text of a tab will cause a LayoutRequest event
|
||||||
|
case QEvent::LayoutRequest:
|
||||||
|
updateGeometry();
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user