sfx2/source/sidebar/TabBar.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit e14c7fa64eff20bf5fc0a97600a0dd58531e1046 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Tue Sep 25 23:30:40 2018 -0800 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Sep 27 08:37:15 2018 +0200 tdf#120122 Fix key input being passed to doc view from floating sidebar ...tab bar Change-Id: Iae327e0de3a129f28315a3fe2961a6ae572e4056 Reviewed-on: https://gerrit.libreoffice.org/61020 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 9487e8079c7c..7930f98ebb72 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -229,7 +229,11 @@ void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent) bool TabBar::EventNotify(NotifyEvent& rEvent) { - if(rEvent.GetType() == MouseNotifyEvent::COMMAND) + MouseNotifyEvent nType = rEvent.GetType(); + if (MouseNotifyEvent::KEYINPUT == nType) + return true; + + if(MouseNotifyEvent::COMMAND == nType) { const CommandEvent& rCommandEvent = *rEvent.GetCommandEvent(); if(rCommandEvent.GetCommand() == CommandEventId::Wheel) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits