summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2015-06-04 21:10:28 -0400
committerJan Holesovsky <kendy@collabora.com>2015-06-05 05:52:06 +0200
commitd1ed5b06b2cc7f52b896d6cd4ce0b59e8ceea6b9 (patch)
tree078a9a26aec056bb0311280d1ca386f9d655fc75
parent671787e144345b03a801ede499cc4784e71d6941 (diff)
sc tiled editing: double-click empty cell
Change-Id: I35c43e2a22ac6591a2bcf9857808503c0e111344
-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 c31d2466b228..cfc0b5e27dd1 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));