diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopWindow.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopWindow.java index 98bc86e88a..39abd55e19 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopWindow.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopWindow.java @@ -638,6 +638,13 @@ public class DesktopWindow implements Window, Component.Disposable, JTabbedPaneExt jTabbedPaneExt = getJTabbedPaneExt(); jTabbedPaneExt.setTitleAt(jTabbedPaneExt.getSelectedIndex(), formattedCaption); + + java.awt.Component tabHeaderComponent = jTabbedPaneExt.getTabComponentAt(jTabbedPaneExt.getSelectedIndex()); + if (tabHeaderComponent != null) { + tabHeaderComponent.invalidate(); + tabHeaderComponent.repaint(); + } + windowManager.getBreadCrumbs(tabWindow).update(); }