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 d4c8c0bb52
commit 8042d6f892
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 );
module->SetLocked( !module->IsLocked() );
OnModify();
module->DisplayInfo( this );
}