From 709cb08d4e6ac445e2488279fe6817cf2b3d5067 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 9 Jul 2014 17:06:28 +0200 Subject: [PATCH] Help: Fixed that external help window didn't get focus When opening examples. Testable by pressing F1 or trying to scroll in the viewer with keyboard directly after it opened. Change-Id: I6a2d4535daf38936140e1d1488cb78fb2e9019e3 Reviewed-by: Karsten Heimrich --- src/plugins/help/helpplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index 57f6519d7e7..fbbfe74eaa5 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -555,6 +555,7 @@ HelpViewer *HelpPlugin::externalHelpViewer() if (!m_externalWindowState.isNull()) m_externalWindow->setGeometry(m_externalWindowState); m_externalWindow->show(); + m_externalWindow->setFocus(); return m_externalWindow->currentViewer(); }