diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-07 09:19:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-07 11:18:11 +0200 |
commit | 2f9d71b571fa8cb66b3af0b1b8e1ad6c032cb538 (patch) | |
tree | 933a3462bc9a5d109ec40dc21beda6cff06f2c42 /toolkit | |
parent | 6d6b574328bbdda9ae22347ad8ebe34e0f1173be (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |