From 87477c55a87ab49bf20e9f19942e27b785a812c1 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 23 Nov 2019 20:09:02 +0100 Subject: add livecoding tool to toolbar --- src/ui/tool-factory.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/tool-factory.cpp') diff --git a/src/ui/tool-factory.cpp b/src/ui/tool-factory.cpp index 8c80c3921..e199d997f 100644 --- a/src/ui/tool-factory.cpp +++ b/src/ui/tool-factory.cpp @@ -32,6 +32,7 @@ #include "ui/tools/text-tool.h" #include "ui/tools/tweak-tool.h" #include "ui/tools/zoom-tool.h" +#include "ui/tools/livecode-tool.h" using namespace Inkscape::UI::Tools; @@ -83,6 +84,8 @@ ToolBase *ToolFactory::createObject(std::string const& id) tool = new TweakTool; else if (id == "/tools/zoom") tool = new ZoomTool; + else if (id == "/tools/livecode") + tool = new LivecodeTool; else fprintf(stderr, "WARNING: unknown tool: %s", id.c_str()); -- cgit v1.2.3