summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabwindow/tabwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index f54fd130..6e64d7e4 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -375,7 +375,8 @@ void TabWindow::tabLoadFinished(bool ok)
setTabText(index, QString());
}
- tab->checkFocus();
+ if (index == currentIndex())
+ tab->checkFocus();
}