diff options
author | Henry Castro <hcastro@collabora.com> | 2015-03-13 08:31:25 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-16 09:38:10 +0100 |
commit | 2384e6ed82a05806e6234d2057563744ef112743 (patch) | |
tree | d0a6ca3fcca110120de3d59f3aa679fd9fd5cfc5 | |
parent | fa53289f24d09d963ffec9ee9f28ca1ee8f42a1f (diff) |
sc tiled editing: EndTracking() is necessary in the tiled rendering case.
Change-Id: I0fc550ed669e08787b968ec03c09c1d8ad04dd65
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index da733b92eb60..d48120d8c294 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -2438,6 +2438,11 @@ void ScGridWindow::LogicMouseButtonUp(const MouseEvent& rMouseEvent) assert(rDoc.GetDrawLayer()->isTiledRendering()); MouseButtonUp(rMouseEvent); + + // sometimes MouseButtonDown captures mouse and starts tracking, and VCL + // will not take care of releasing that with tiled rendering + if (IsTracking()) + EndTracking(); } void ScGridWindow::FakeButtonUp() |