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;
}