From a0b27fd9c8cec145c8c16d0ab5f99d030ced7fb8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 27 Jan 2013 01:47:55 +0100 Subject: Fix tab when showing a kpart. Let also see title where needed --- src/tabwindow/tabwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tabwindow') diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp index 4f58ce3e..d0e6dbce 100644 --- a/src/tabwindow/tabwindow.cpp +++ b/src/tabwindow/tabwindow.cpp @@ -394,6 +394,7 @@ void TabWindow::tabTitleChanged(const QString &title) tabTitle.replace('&', "&&"); int index = indexOf(tab); + if (-1 != index && !tabBar()->tabData(index).toBool()) { setTabText(index, tabTitle); -- cgit v1.2.1