Fix regression: WelcomeMode has no RightPanePlaceHolder, switch to Edit

Reviewed-by: con
This commit is contained in:
Daniel Molkentin
2010-10-27 17:44:41 +02:00
committed by con
parent 4ac72ef05f
commit c4a8e6da3b

View File

@@ -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()) {