summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2020-02-12 14:41:17 +0100
committerMarco Cecchetti <marco.cecchetti@collabora.com>2020-03-06 10:44:01 +0100
commit234a15d788adbb75317554b516acb3c8f113ece7 (patch)
treef36702b883282a0e3119c7316372d50e91baf930 /sc
parent538dc87c56cd5c796c67d2be60be007e519505c9 (diff)
lok: calc: unwanted cell range selection occurs when clicking on a cell
When user clicks on a cell after the browser has lost focus user gets the cell range from A1 to the current clicked cell selected Change-Id: I1dd495f42ca7e5ee8cad1d2354dcebc0cb05d65f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88549 Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com> Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90071 Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index d690b59fccc6..969136b777b3 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2697,7 +2697,7 @@ void ScGridWindow::Tracking( const TrackingEvent& rTEvt )
MouseButtonUp( aUpEvt );
}
}
- else
+ else if ( !comphelper::LibreOfficeKit::isActive() )
MouseMove( rMEvt );
}