Update board modified state when (un)locking a module in pcbnew.

This commit is contained in:
Marco Mattila 2012-12-06 12:13:19 +02:00
parent 151f81aa95
commit c648806703
1 changed files with 1 additions and 0 deletions

View File

@ -508,6 +508,7 @@ void PCB_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotkeyCode, const wxPoint& aPosit
{ {
SetCurItem( module ); SetCurItem( module );
module->SetLocked( !module->IsLocked() ); module->SetLocked( !module->IsLocked() );
OnModify();
module->DisplayInfo( this ); module->DisplayInfo( this );
} }