summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainview.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a0f05ccd..b75e8902 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -205,8 +205,15 @@ void MainView::updateTabBar()
void MainView::webReload()
{
WebTab *webTab = currentWebTab();
- QAction *action = webTab->view()->page()->action(QWebPage::Reload);
- action->trigger();
+ if (webTab->url().scheme() != QL1S("about"))
+ {
+ QAction *action = webTab->view()->page()->action(QWebPage::Reload);
+ action->trigger();
+ }
+ else
+ {
+ webTab->view()->setUrl(webTab->page()->loadingUrl());
+ }
}