summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 2034b9d2d..f2339770c 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -33,6 +33,8 @@
#include "shape-editor.h"
+using Inkscape::createKnotHolder;
+
ShapeEditor::ShapeEditor(SPDesktop *dt) {
this->desktop = dt;
this->knotholder = NULL;
@@ -184,7 +186,7 @@ void ShapeEditor::set_item(SPItem *item, SubType type, bool keep_knotholder) {
case SH_KNOTHOLDER:
if (!this->knotholder) {
// only recreate knotholder if none is present
- this->knotholder = sp_item_knot_holder(item, desktop);
+ this->knotholder = createKnotHolder(item, desktop);
}
if (this->knotholder) {
this->knotholder->update_knots();