summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index d770b3d1..39b2af60 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -178,7 +178,6 @@ int Application::newInstance()
if (isRekonqCrashed && isFirstLoad)
{
loadUrl(KUrl("about:closedTabs"), Rekonq::NewWindow);
- mainWindow()->currentTab()->showMessageBar();
}
if (areThereArguments)
@@ -294,6 +293,10 @@ void Application::postLaunch()
instance(), SLOT(loadUrl(const KUrl&, const Rekonq::OpenType&)));
// crash recovering
+ if (ReKonfig::recoverOnCrash())
+ {
+ mainWindow()->currentTab()->showMessageBar();
+ }
ReKonfig::setRecoverOnCrash(ReKonfig::recoverOnCrash() + 1);
saveConfiguration();
}