Update POINT_EDITOR when locking/unlocking via Hotkey/RMB.

Fixes https://gitlab.com/kicad/code/kicad/issues/8489
This commit is contained in:
Jeff Young 2021-05-26 16:03:04 +01:00
parent 3d0fe8e2c6
commit 4fb643df93
1 changed files with 3 additions and 1 deletions

View File

@ -1145,7 +1145,9 @@ int BOARD_EDITOR_CONTROL::modifyLockSelected( MODIFY_MODE aMode )
if( modified )
{
commit.Push( aMode == ON ? _( "Lock" ) : _( "Unlock" ) );
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
m_toolMgr->PostEvent( EVENTS::SelectedEvent );
m_frame->UpdateMsgPanel();
m_frame->OnModify();
}