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

This commit is contained in:
Maciej Suminski 2014-07-15 17:33:19 +02:00
parent f24075bbf5
commit 0adb6fa943
1 changed files with 1 additions and 1 deletions

View File

@ -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;