summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabwindow/tabwindow.cpp')
-rw-r--r--src/tabwindow/tabwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index d2692d3d..99c4aa40 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -349,7 +349,13 @@ void TabWindow::tabLoadFinished(bool ok)
label->setPixmap(ic.pixmap(16, 16));
if (!tabBar()->tabData(index).toBool())
+ {
setTabText(index, tab->title());
+ }
+ else
+ {
+ setTabText(index, QString());
+ }
}