diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-30 21:54:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-31 21:32:39 +0100 |
commit | df0baf4b00a84669997c2105b63d96f0865bfb3b (patch) | |
tree | 7e7840d74883685c17f051906a69aaef79265e18 | |
parent | 76be678e7478e4863a8360e26425a39afa5af4fb (diff) |
Related: tdf#99324 let panels assign auto mnemonics
Change-Id: I9882dc3611f4ba04d02b210eceee362514fd699c
-rw-r--r-- | svx/source/sidebar/PanelLayout.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx index 62ffa61e1250..f4ec456bd6af 100644 --- a/svx/source/sidebar/PanelLayout.cxx +++ b/svx/source/sidebar/PanelLayout.cxx @@ -27,6 +27,8 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame); m_aPanelLayoutIdle.SetPriority(SchedulerPriority::RESIZE); m_aPanelLayoutIdle.SetIdleHdl( LINK( this, PanelLayout, ImplHandlePanelLayoutTimerHdl ) ); + if (GetSettings().GetStyleSettings().GetAutoMnemonic()) + Accelerator::GenerateAutoMnemonicsOnHierarchy(this); } PanelLayout::~PanelLayout() |