summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-01-08 05:34:40 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-01-08 05:34:40 +0000
commit59a283b2e4480f016a7c09eba3699bdd6439e648 (patch)
treec8700ba4f72b1700665a55ca71e8f3fe32f4ea1c /src/selection-chemistry.cpp
parentsmall 2geomify (diff)
downloadinkscape-59a283b2e4480f016a7c09eba3699bdd6439e648.tar.gz
inkscape-59a283b2e4480f016a7c09eba3699bdd6439e648.zip
move shape_editor from node context to the parent class, event context
(bzr r7096)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index de8662cc3..9081bbdb2 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1731,7 +1731,7 @@ void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip)
tools_switch(dt, TOOLS_NODES);
}
- ShapeEditor * shape_editor = SP_NODE_CONTEXT( dt->event_context )->shape_editor;
+ ShapeEditor * shape_editor = dt->event_context->shape_editor;
// TODO: should we set the item for nodepath or knotholder or both? seems to work with both.
shape_editor->set_item(SP_ITEM(child), SH_NODEPATH);
shape_editor->set_item(SP_ITEM(child), SH_KNOTHOLDER);