[Libreoffice-commits] core.git: vcl/qt5
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 5 06:07:50 UTC 2018
vcl/qt5/Qt5Frame.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 702824f66751bbb4c3d0f38035e85027c0de64c0
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Tue Sep 4 22:37:27 2018 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Sep 5 08:07:24 2018 +0200
kde5: get focus on dialogs on open
Change-Id: Ia78a0a2d26159e46bc58557477723a366b8e677a
Reviewed-on: https://gerrit.libreoffice.org/60010
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 895c9742cd89..e90ab1119a93 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -565,6 +565,7 @@ void Qt5Frame::ToTop(SalFrameToTop nFlags)
if (isWindow() && !(nFlags & SalFrameToTop::GrabFocusOnly))
pWidget->raise();
+ pWidget->setFocus();
pWidget->activateWindow();
}
More information about the Libreoffice-commits
mailing list