Skip to content
Snippets Groups Projects
Commit 97bfe3a5 authored by Eike Ziller's avatar Eike Ziller
Browse files

Help: Remove hack for example documentation


The code for opening examples nowadays explicitly changes to edit mode
before opening the example documentation, so we do not need to do that
hack here anymore.

Change-Id: I536784fdc0def8916c14f6df1bb7e50d11aff164
Reviewed-by: default avatarKarsten Heimrich <karsten.heimrich@digia.com>
parent 0d430360
No related branches found
No related tags found
No related merge requests found
......@@ -684,10 +684,6 @@ void HelpPlugin::setupHelpEngineIfNeeded()
HelpViewer *HelpPlugin::viewerForContextMode()
{
// TODO this is a hack for opening examples
if (ModeManager::currentMode()->id() == Core::Constants::MODE_WELCOME)
ModeManager::activateMode(Core::Constants::MODE_EDIT);
bool showSideBySide = false;
RightPanePlaceHolder *placeHolder = RightPanePlaceHolder::current();
switch (contextHelpOption()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment