sc/source/ui/view/gridwin.cxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
New commits: commit b11268fadf76618ad37d27219b7f51255f8f8b5a Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Tue Apr 16 10:26:34 2019 +0200 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Thu Sep 26 10:04:39 2019 +0200 Fix range selection in chart wizard for online In the Online when range was selected in second step of the Chart Wizard, main window become unresponsive. This fix blocks doubled MouseButtonUp event and allows to fold/unfold multiple times the range selection dialog by allowing to use that window type in SetRefDialog. Change-Id: I9f64cf7a110ab9264bc53dd740f0caf576764714 Reviewed-on: https://gerrit.libreoffice.org/79570 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 0bfbcce82ddf..131f744aef69 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -2646,11 +2646,14 @@ void ScGridWindow::Tracking( const TrackingEvent& rTEvt ) } else if ( rTEvt.IsTrackingEnded() ) { - // MouseButtonUp always with matching buttons (eg for test tool, # 63148 #) - // The tracking event will indicate if it was completed and not canceled. - MouseEvent aUpEvt( rMEvt.GetPosPixel(), rMEvt.GetClicks(), - rMEvt.GetMode(), nButtonDown, rMEvt.GetModifier() ); - MouseButtonUp( aUpEvt ); + if ( !comphelper::LibreOfficeKit::isActive() ) + { + // MouseButtonUp always with matching buttons (eg for test tool, # 63148 #) + // The tracking event will indicate if it was completed and not canceled. + MouseEvent aUpEvt( rMEvt.GetPosPixel(), rMEvt.GetClicks(), + rMEvt.GetMode(), nButtonDown, rMEvt.GetModifier() ); + MouseButtonUp( aUpEvt ); + } } else MouseMove( rMEvt ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits