[Libreoffice-commits] core.git: toolkit/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 7 09:18:46 UTC 2019
toolkit/source/awt/vclxtoolkit.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 2f9d71b571fa8cb66b3af0b1b8e1ad6c032cb538
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Aug 7 09:19:34 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Aug 7 11:18:11 2019 +0200
Resolves: tdf#126717 default that formcontrols show accelerators
Change-Id: I755cb19d08ae2a2036a86422d2e455c1033a54df
Reviewed-on: https://gerrit.libreoffice.org/77085
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 1f97511e0f27..9505a6e907db 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1492,6 +1492,9 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
}
}
+ // tdf#126717 default that formcontrols show accelerators
+ if (Control* pControl = dynamic_cast<Control*>(pNewWindow.get()))
+ pControl->SetShowAccelerator(true);
return pNewWindow;
}
More information about the Libreoffice-commits
mailing list