diff options
Diffstat (limited to 'src/node-context.cpp')
| -rw-r--r-- | src/node-context.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/node-context.cpp b/src/node-context.cpp index 9a4bff88e..a72501af7 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -162,7 +162,8 @@ sp_node_context_setup(SPEventContext *ec) nc->current_state = SP_NODE_CONTEXT_INACTIVE; if (item) { - nc->shape_editor->set_item(item); + nc->shape_editor->set_item(item, SH_NODEPATH); + nc->shape_editor->set_item(item, SH_KNOTHOLDER); } if (prefs_get_int_attribute("tools.nodes", "selcue", 0) != 0) { @@ -211,9 +212,11 @@ sp_node_context_selection_changed(Inkscape::Selection *selection, gpointer data) SPNodeContext *nc = SP_NODE_CONTEXT(data); // TODO: update ShapeEditorsCollective instead - nc->shape_editor->unset_item(); + nc->shape_editor->unset_item(SH_NODEPATH); + nc->shape_editor->unset_item(SH_KNOTHOLDER); SPItem *item = selection->singleItem(); - nc->shape_editor->set_item(item); + nc->shape_editor->set_item(item, SH_NODEPATH); + nc->shape_editor->set_item(item, SH_KNOTHOLDER); nc->shape_editor->update_statusbar(); } |
