Update board modified state when (un)locking a module in pcbnew.
This commit is contained in:
parent
151f81aa95
commit
c648806703
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue