summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp1
-rw-r--r--src/mainview.cpp2
-rw-r--r--src/urlbar.cpp5
3 files changed, 6 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 269a81af..ba456d2c 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -428,6 +428,5 @@ void Application::homePage(const KUrl &url)
WebView *w = view->currentWebView();
HomePage p(w);
w->setHtml( p.rekonqHomePage(url), url);
- view->urlBar()->setFocus();
return;
}
diff --git a/src/mainview.cpp b/src/mainview.cpp
index f994aa25..20cac359 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -471,7 +471,7 @@ void MainView::webViewLoadFinished(bool ok)
webViewIconChanged();
emit browserTabLoading(false);
-
+
// don't display messages for background tabs
if (index != currentIndex())
{
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index 54aa0ecf..ba50d068 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -133,6 +133,11 @@ void UrlBar::setupLineEdit()
void UrlBar::setUrl(const QUrl& url)
{
+ if(url.scheme() == "about")
+ {
+ setFocus();
+ return;
+ }
m_currentUrl = url;
slotUpdateUrl();
}