From c64880670358e9db14215682823f65a94feccf9a Mon Sep 17 00:00:00 2001 From: Marco Mattila Date: Thu, 6 Dec 2012 12:13:19 +0200 Subject: [PATCH] Update board modified state when (un)locking a module in pcbnew. --- pcbnew/hotkeys_board_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/hotkeys_board_editor.cpp b/pcbnew/hotkeys_board_editor.cpp index 331d336552..ed9748a46f 100644 --- a/pcbnew/hotkeys_board_editor.cpp +++ b/pcbnew/hotkeys_board_editor.cpp @@ -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 ); }