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