summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-02-04 14:12:32 -0900
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-02-05 10:40:59 +0100
commitbcfc348663b04834fe8e6d6315f647be1595469a (patch)
tree31789487672b5577fc1a42294aea7118740b2cda /sfx2/source
parent914a35e8467252da43f864c86b0a820d8c0bd38e (diff)
tdf#115434 Fix key press misbehaviors in sidebar
This patch also is for tdf#98505 and tdf#84657 Change-Id: I6bc125ace035b2c8126f013a63bcc9498b06e08c Reviewed-on: https://gerrit.libreoffice.org/49219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 84a2834e5a34..05e7a3ab41a9 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -104,6 +104,15 @@ SfxChildAlignment SidebarDockingWindow::CheckAlignment (
}
}
+bool SidebarDockingWindow::EventNotify(NotifyEvent& rEvent)
+{
+ MouseNotifyEvent nType = rEvent.GetType();
+ if (MouseNotifyEvent::KEYINPUT == nType)
+ return true;
+
+ return Window::EventNotify(rEvent);
+}
+
} } // end of namespace sfx2::sidebar
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */