Kaydet (Commit) 59520bd3 authored tarafından Noel Power's avatar Noel Power Kaydeden (comit) Gergo Mocsi

remove strange added Invalidate bits

Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815
üst e70a436f
...@@ -601,20 +601,15 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt ) ...@@ -601,20 +601,15 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt )
{ {
if (SfxBindings* pBindings = GetBindingsPtr()) if (SfxBindings* pBindings = GetBindingsPtr())
{ {
pBindings->Invalidate( SID_CUT );
pBindings->Invalidate( SID_COPY );
pBindings->Invalidate( SID_BASICIDE_STAT_POS ); pBindings->Invalidate( SID_BASICIDE_STAT_POS );
if ( rKEvt.GetKeyCode().GetGroup() == KEYGROUP_CURSOR ) if ( rKEvt.GetKeyCode().GetGroup() == KEYGROUP_CURSOR )
pBindings->Update( SID_BASICIDE_STAT_POS ); pBindings->Update( SID_BASICIDE_STAT_POS );
if ( !bWasModified && pEditEngine->IsModified() ) if ( !bWasModified && pEditEngine->IsModified() )
{ {
pBindings->Invalidate( SID_SAVEDOC ); pBindings->Invalidate( SID_SAVEDOC );
pBindings->Invalidate( SID_DOC_MODIFIED ); pBindings->Invalidate( SID_DOC_MODIFIED );
pBindings->Invalidate( SID_UNDO ); pBindings->Invalidate( SID_UNDO );
} }
if ( rKEvt.GetKeyCode().GetCode() == KEY_INSERT ) if ( rKEvt.GetKeyCode().GetCode() == KEY_INSERT )
pBindings->Invalidate( SID_ATTR_INSERT ); pBindings->Invalidate( SID_ATTR_INSERT );
} }
......
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