Kaydet (Commit) e14c7fa6 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Noel Grandin

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: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ec2cc68a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment