summaryrefslogtreecommitdiff
path: root/src/tabwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-28 10:05:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit28835d21e6a2b5ad7e036168a2bb772417fa7599 (patch)
tree74d32b84b5eccd28f83df431ae0ddcffb6041894 /src/tabwindow
parentCommented out kwebapp adding script logic. (diff)
downloadrekonq-28835d21e6a2b5ad7e036168a2bb772417fa7599.tar.xz
Fix focus steal on load finished
Diffstat (limited to 'src/tabwindow')
-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();
}