[Libreoffice-commits] core.git: sd/source
Justin Luth
justin.luth at collabora.com
Tue Jul 3 11:23:26 UTC 2018
sd/source/ui/view/drviews4.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e1bab58778fd501f2d2aff7e5dc61eefdc229c9a
Author: Justin Luth <justin.luth at collabora.com>
Date: Tue Jul 3 13:05:32 2018 +0300
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: https://gerrit.libreoffice.org/56857
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth at sil.org>
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
More information about the Libreoffice-commits
mailing list