diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-11-23 19:09:02 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-11-23 19:09:02 +0000 |
| commit | 87477c55a87ab49bf20e9f19942e27b785a812c1 (patch) | |
| tree | 58b984602606755b87276221f06fe19e08ccb9df /src/ui/tool-factory.cpp | |
| parent | fix #521 SPIString copy constructor (diff) | |
| download | inkscape-87477c55a87ab49bf20e9f19942e27b785a812c1.tar.gz inkscape-87477c55a87ab49bf20e9f19942e27b785a812c1.zip | |
add livecoding tool to toolbar
Diffstat (limited to 'src/ui/tool-factory.cpp')
| -rw-r--r-- | src/ui/tool-factory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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()); |
