[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - sc/source

Jan Holesovsky kendy at collabora.com
Thu Apr 9 00:15:20 PDT 2015


 sc/source/ui/view/gridwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 581e9bb1690c4d27476aa46c0391f97675963149
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Apr 9 09:14:15 2015 +0200

    sc tiled editing: Make the 'long tap to select' work again in shapes.
    
    Change-Id: I77914d1b6fe538f3f38beb449e68f50ae36b0798

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 6c15dd1..2b0ca4c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1706,7 +1706,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt, MouseEventSta
 
     // special handling of empty cells with tiled rendering - with double
     // click, the entire cell is selected
-    if (bIsTiledRendering && bDouble)
+    if (bIsTiledRendering && bEditMode && bDouble)
     {
         Point aPos = rMEvt.GetPosPixel();
         SCsCOL nPosX;


More information about the Libreoffice-commits mailing list