Commit f4ec1e72 authored by Maciej Suminski's avatar Maciej Suminski

Allow invoking GAL tools, only if GAL is active.

parent ee3f47ae
......@@ -269,6 +269,6 @@ void TOOL_DISPATCHER::DispatchWxCommand( wxCommandEvent &aEvent )
break;
}
if( activateTool )
if( activateTool && m_editFrame->IsGalCanvasActive() )
m_toolMgr->InvokeTool( toolName );
}
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