From 9138a14e2cf80786c9921de807d8ac1c22dcf07a Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 15 Jul 2014 17:33:19 +0200 Subject: [PATCH] Module editor does not ask for permission to modify a locked module. --- pcbnew/tools/selection_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 13151cdf65..4c6ad9eff5 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -391,7 +391,7 @@ void SELECTION_TOOL::setTransitions() bool SELECTION_TOOL::CheckLock() { - if( !m_locked ) + if( !m_locked || m_editModules ) return false; bool containsLocked = false;