summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-04-17 23:33:31 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-04-17 23:33:31 +0200
commit67f95af6b1649cd07ac2e3ba5a09ef1b7b875574 (patch)
tree1520728f8c90ddb37a2fcdb5fb650fbf81f8afa4 /src/mainview.cpp
parentFix the completition widget opening when the urlbar has the focus and we want... (diff)
downloadrekonq-67f95af6b1649cd07ac2e3ba5a09ef1b7b875574.tar.xz
Fix the url bar focus when the only tab is closed
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a5eaa748..cb2e3b11 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -467,7 +467,7 @@ void MainView::closeTab(int index)
case 0: // new tab page
case 1: // blank page
w->load( KUrl("about:home") );
- urlBarWidget()->setFocus();
+ urlBar()->setFocus();
break;
case 2: // homepage
w->load( KUrl(ReKonfig::homePage()) );