From c4a8e6da3b387af5fccae521906a0936f7e25af9 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Wed, 27 Oct 2010 17:44:41 +0200 Subject: [PATCH] Fix regression: WelcomeMode has no RightPanePlaceHolder, switch to Edit Reviewed-by: con --- src/plugins/help/helpplugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index f9bc0250753..a867d7f9717 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -772,6 +772,9 @@ HelpViewer* HelpPlugin::viewerForContextMode() { using namespace Core; + if (m_core->modeManager()->currentMode()->id() == Core::Constants::MODE_WELCOME) + m_core->modeManager()->activateMode(Core::Constants::MODE_EDIT); + bool showSideBySide = false; RightPanePlaceHolder *placeHolder = RightPanePlaceHolder::current(); switch (contextHelpOption()) { -- GitLab