summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index e25b0152107a..f474e6f52905 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gridwin.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: nn $ $Date: 2000-11-15 10:35:49 $
+ * last change: $Author: nn $ $Date: 2000-11-28 11:38:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2120,19 +2120,11 @@ void __EXPORT ScGridWindow::Command( const CommandEvent& rCEvt )
}
}
- if ( !bEditView )
- {
- pScMod->SetInputMode( SC_INPUT_TABLE ); // start cell editing
- }
-
ScInputHandler* pHdl = pScMod->GetInputHdl( pViewData->GetViewShell() );
- if ( pHdl && pViewData->HasEditView( eWhich ) )
+ if ( pHdl )
{
- EditView* pEditView = pViewData->GetEditView( eWhich ); // ist dann nicht 0
- pHdl->DataChanging();
- pEditView->Command( rCEvt );
- pHdl->DataChanged();
- return; // erledigt
+ pHdl->InputCommand( rCEvt, TRUE );
+ return; // done
}
Window::Command( rCEvt );