1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00

Properly update DockAreaTabBar geometry if tab text changed

This commit is contained in:
Uwe Kindler 2020-07-05 22:29:13 +02:00
parent e6e83d5775
commit acfc96f57c

View File

@ -456,6 +456,11 @@ bool CDockAreaTabBar::eventFilter(QObject *watched, QEvent *event)
updateGeometry();
break;
// Setting the text of a tab will cause a LayoutRequest event
case QEvent::LayoutRequest:
updateGeometry();
break;
default:
break;
}