summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/cellsh3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index b8e754af336b..3f1569bfa405 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -182,7 +182,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
GetViewData()->GetTabNo(),
aStr );
}
- else
+ else if (pHdl)
{
SC_MOD()->SetInputMode(SC_INPUT_TABLE);