Kaydet (Commit) 4393ca83 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Thorsten Behrens

tdf#106611 make click on status bar insert/overwrite field work

Change-Id: Ife8f9126a0249a8abe4e9fbe00917a784288c8e7
Reviewed-on: https://gerrit.libreoffice.org/47290Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 3e9bea4d
...@@ -187,6 +187,7 @@ void ScEditShell::Execute( SfxRequest& rReq ) ...@@ -187,6 +187,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
switch ( nSlot ) switch ( nSlot )
{ {
case SID_ATTR_INSERT:
case FID_INS_CELL_CONTENTS: // Insert taste, while defined as Acc case FID_INS_CELL_CONTENTS: // Insert taste, while defined as Acc
bIsInsertMode = !pTableView->IsInsertMode(); bIsInsertMode = !pTableView->IsInsertMode();
pTableView->SetInsertMode( bIsInsertMode ); pTableView->SetInsertMode( bIsInsertMode );
...@@ -195,17 +196,6 @@ void ScEditShell::Execute( SfxRequest& rReq ) ...@@ -195,17 +196,6 @@ void ScEditShell::Execute( SfxRequest& rReq )
rBindings.Invalidate( SID_ATTR_INSERT ); rBindings.Invalidate( SID_ATTR_INSERT );
break; break;
case SID_ATTR_INSERT:
if ( pReqArgs )
{
bIsInsertMode = static_cast<const SfxBoolItem&>(pReqArgs->Get(nSlot)).GetValue();
pTableView->SetInsertMode( bIsInsertMode );
if (pTopView)
pTopView->SetInsertMode( bIsInsertMode );
rBindings.Invalidate( SID_ATTR_INSERT );
}
break;
case SID_THES: case SID_THES:
{ {
OUString aReplaceText; OUString aReplaceText;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment