svx/source/form/fmview.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8d633320df3fb58e6e9ac12dcf9983ad5d5db75e
Author: Samuel Mehrbrodt <[email protected]>
AuthorDate: Wed Apr 21 14:15:07 2021 +0200
Commit: Samuel Mehrbrodt <[email protected]>
CommitDate: Wed Apr 21 15:46:57 2021 +0200
Related tdf#139804 Allow activating btn on first click
Change-Id: I3bcdf8bdd6f25fd30106214f40e72bf1506f6bbf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114398
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <[email protected]>
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 5d195ef74245..a77ab010c070 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -517,6 +517,7 @@ bool FmFormView::KeyInput(const KeyEvent& rKEvt,
vcl::Window* pWin)
if (rI18nHelper.MatchMnemonic(pWindow->GetText(),
rKEvt.GetCharCode()))
{
pWindow->GrabFocus();
+ pWindow->KeyInput(rKEvt);
bDone = true;
break;
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits