diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-10-28 10:05:54 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 28835d21e6a2b5ad7e036168a2bb772417fa7599 (patch) | |
tree | 74d32b84b5eccd28f83df431ae0ddcffb6041894 /src/tabwindow/tabwindow.cpp | |
parent | Commented out kwebapp adding script logic. (diff) | |
download | rekonq-28835d21e6a2b5ad7e036168a2bb772417fa7599.tar.xz |
Fix focus steal on load finished
Diffstat (limited to 'src/tabwindow/tabwindow.cpp')
-rw-r--r-- | src/tabwindow/tabwindow.cpp | 3 |
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(); } |