diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-07-26 17:11:51 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-07-26 17:11:51 +0000 |
| commit | cc73219a498e87298578996011b80680214f7a96 (patch) | |
| tree | 40d0e91da69ff1ceafe2bc9377cdfc137174fafb /src/ui/tools/lpe-tool.cpp | |
| parent | Read HSL color (CSS Color Module Level 3). (diff) | |
| download | inkscape-cc73219a498e87298578996011b80680214f7a96.tar.gz inkscape-cc73219a498e87298578996011b80680214f7a96.zip | |
Clean up some ShapeHolder related things
(bzr r13341.1.100)
Diffstat (limited to 'src/ui/tools/lpe-tool.cpp')
| -rw-r--r-- | src/ui/tools/lpe-tool.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/tools/lpe-tool.cpp b/src/ui/tools/lpe-tool.cpp index 9ab6d7814..e9b9421f1 100644 --- a/src/ui/tools/lpe-tool.cpp +++ b/src/ui/tools/lpe-tool.cpp @@ -129,8 +129,7 @@ void LpeTool::setup() { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); if (item) { - this->shape_editor->set_item(item, SH_NODEPATH); - this->shape_editor->set_item(item, SH_KNOTHOLDER); + this->shape_editor->set_item(item); } if (prefs->getBool("/tools/lpetool/selcue")) { @@ -146,9 +145,9 @@ void sp_lpetool_context_selection_changed(Inkscape::Selection *selection, gpoint { LpeTool *lc = SP_LPETOOL_CONTEXT(data); - lc->shape_editor->unset_item(SH_KNOTHOLDER); + lc->shape_editor->unset_item(); SPItem *item = selection->singleItem(); - lc->shape_editor->set_item(item, SH_KNOTHOLDER); + lc->shape_editor->set_item(item); } void LpeTool::set(const Inkscape::Preferences::Entry& val) { |
