summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-04-21 14:15:07 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-04-23 17:09:17 +0200
commitbafde4784c4bcb4acea4010f79f4b74f5227ac02 (patch)
tree6ea33350c9d55cf4aa916a7f4e36d221c50217d4 /svx
parent76ae33f415e6df0e267022bddb5c1b75df4346a6 (diff)
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 <samuel.mehrbrodt@allotropia.de> (cherry picked from commit 8d633320df3fb58e6e9ac12dcf9983ad5d5db75e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114434 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 5d121a5ca602..dbd4a4ddf1b0 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -533,6 +533,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;
}