diff options
authorJustin Luth <>2018-07-03 13:05:32 +0300
committerJustin Luth <>2018-07-03 13:23:05 +0200
commite1bab58778fd501f2d2aff7e5dc61eefdc229c9a (patch)
parentb8fd1a814ffc80f2802c5b980febabcffe9606cb (diff)
tdf#109190 sd: cancel selecting status on new mousedown
It is possible to cancel a mouse-down without a mouse-up (for example with an ESC button). So, cancel an obsolete "MouseSelecting" on mouse-down. Change-Id: I37d641612cf2cd8099af8f04b12fdb364c4f9e24 Reviewed-on: Tested-by: Jenkins Reviewed-by: Justin Luth <>
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 41f387897f56..f8aca149a4ae 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -270,6 +270,8 @@ void DrawViewShell::MouseButtonDown(const MouseEvent& rMEvt,
::sd::Window* pWin)
mbMouseButtonDown = true;
+ mbMouseSelecting = false;
// We have to check if a context menu is shown and we have an UI
// active inplace client. In that case we have to ignore the mouse
// button down event. Otherwise we would crash (context menu has been