Allow invoking GAL tools, only if GAL is active.
This commit is contained in:
parent
202f7f9107
commit
7c745cd9c6
|
@ -269,6 +269,6 @@ void TOOL_DISPATCHER::DispatchWxCommand( wxCommandEvent &aEvent )
|
|||
break;
|
||||
}
|
||||
|
||||
if( activateTool )
|
||||
if( activateTool && m_editFrame->IsGalCanvasActive() )
|
||||
m_toolMgr->InvokeTool( toolName );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue