Commit d614131b authored by Eike Ziller's avatar Eike Ziller

Help: Fix setting focus to help viewer

Change-Id: Ie846d6996298b74a4b55c359787fd4f63b471cdf
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@qt.io>
parent 5e3a2b5b
......@@ -56,6 +56,7 @@ TextBrowserHelpViewer::TextBrowserHelpViewer(QWidget *parent)
setLayout(layout);
layout->setContentsMargins(0, 0, 0, 0);
layout->addWidget(m_textBrowser, 10);
setFocusProxy(m_textBrowser);
QPalette p = palette();
p.setColor(QPalette::Inactive, QPalette::Highlight,
p.color(QPalette::Active, QPalette::Highlight));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment