summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui')
-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 0c7a5d312e19..eb1c5af20a57 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));