Commit 0adb6fa9 authored by Maciej Suminski's avatar Maciej Suminski

Module editor does not ask for permission to modify a locked module.

parent f24075bb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment