Skip to content
Snippets Groups Projects
Commit 2cd7c7b8 authored by kh1's avatar kh1
Browse files

Force engine setup.

If we where not in full help mode at least once, the engine
would still run without valid help collection due to the new
lazy initialisation, thus the right side pane would not be
able to retrieve the requested help file.

Reviewed-by: ck
parent a8c5d1f8
No related branches found
No related tags found
No related merge requests found
...@@ -532,6 +532,10 @@ void HelpPlugin::createRightPaneContextViewer() ...@@ -532,6 +532,10 @@ void HelpPlugin::createRightPaneContextViewer()
connect(copy, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(copy())); connect(copy, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(copy()));
connect(next, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(forward())); connect(next, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(forward()));
connect(previous, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(backward())); connect(previous, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(backward()));
// force setup, as we might have never switched to full help mode
// thus the help engine might still run without collection file setup
m_helpManager->setupGuiHelpEngine();
} }
void HelpPlugin::activateHelpMode() void HelpPlugin::activateHelpMode()
......
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