vcl/qt5/Qt5Frame.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 702824f66751bbb4c3d0f38035e85027c0de64c0
Author: Thorsten Behrens <[email protected]>
AuthorDate: Tue Sep 4 22:37:27 2018 +0200
Commit: Thorsten Behrens <[email protected]>
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 <[email protected]>
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();
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits