diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 0db0be1bb5..ebf93f569f 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -654,8 +654,6 @@ SELECTION_LOCK_FLAGS SELECTION_TOOL::CheckLock() return SELECTION_LOCKED; } - m_locked = false; - return SELECTION_UNLOCKED; }