diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-06 01:49:54 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-06 01:49:54 +0100 |
commit | 2c11a95da6772a63d85905d4712a1a2d016a9e1e (patch) | |
tree | 919ec8f24580bc6ab56902b9bc92ac3e3dc31d14 /src/mainview.cpp | |
parent | QPointers --> QWeakPointers (diff) | |
download | rekonq-2c11a95da6772a63d85905d4712a1a2d016a9e1e.tar.xz |
FIx focus on browsing (FIRST STEP) and on findbar hiding
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index b26e7466..bc9d0bda 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -308,7 +308,7 @@ void MainView::currentChanged(int index) emit browserTabLoading(false); // set focus to the current webview - tab->setFocus(); + tab->view()->setFocus(); } @@ -507,8 +507,8 @@ void MainView::closeTab(int index) } removeTab(index); - updateTabBar(); // UI operation: do it ASAP!! - tab->deleteLater(); // webView is scheduled for deletion. + updateTabBar(); // UI operation: do it ASAP!! + tab->deleteLater(); // webView is scheduled for deletion. emit tabsChanged(); |