diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-30 21:29:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-02 10:22:33 +0100 |
commit | 0321dbb9be72f92c02919457cdc3c4e76cfbd11d (patch) | |
tree | da8db09d364c072899f7707d42144ed2ab2389ec /sd | |
parent | 6d40c515fdf86d807c199ff4179b9c862a9fe5b2 (diff) |
Resolves: tdf#99324 let sidebar toggle auto-mnemonics on/off with alt
this returns things to passing the alt to the thing with the focus
and depends on ::Command handlers passing the alt-press/release back
up through the Command hierarchy to get to the default top-level
handler eventually
Change-Id: I869120f43810adfa2fac4670c2db143b790a1f9b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index dde0d8cc55de..4c51a511a169 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -261,8 +261,11 @@ void Window::MouseButtonUp(const MouseEvent& rMEvt) void Window::Command(const CommandEvent& rCEvt) { - if ( mpViewShell ) + if (mpViewShell) mpViewShell->Command(rCEvt, this); + //pass at least alt press/release to parent impl + if (rCEvt.GetCommand() == CommandEventId::ModKeyChange) + vcl::Window::Command(rCEvt); } bool Window::Notify( NotifyEvent& rNEvt ) |