summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 20cac359..4fa40b6d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -306,8 +306,8 @@ void MainView::newTab()
switch(ReKonfig::newTabsBehaviour())
{
case 0:
- Application::instance()->homePage();
- break;
+ if(Application::instance()->homePage())
+ break;
case 1:
urlBar()->setUrl(KUrl(""));
break;