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

New commits:
commit ed81eaf2f9ac33912f54a9bfa6a1e3d1aad07dc8
Author: Henry Castro <hcas...@collabora.com>
Date:   Thu Jun 4 21:10:28 2015 -0400

    sc tiled editing: double-click empty cell
    
    Change-Id: I35c43e2a22ac6591a2bcf9857808503c0e111344

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 0c7a5d3..eb1c5af 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2415,7 +2415,7 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt 
)
         {
             // don't forward the event to an empty cell, causes deselection in
             // case we used the double-click to select the empty cell
-            if (bIsTiledRendering)
+            if (bIsTiledRendering && bDouble)
             {
                 ScRefCellValue aCell;
                 aCell.assign(*pViewData->GetDocument(), ScAddress(nPosX, 
nPosY, nTab));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to