diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-10-23 19:40:09 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2018-10-24 20:45:21 +0000 |
| commit | 1f44e9972089992cb0ec970a1661e0399161282d (patch) | |
| tree | 0b66a3dfc7619b0f24ab0bd326fca6686ca35f00 /src/ui/shape-editor.h | |
| parent | cmake: move "project" before "include" (diff) | |
| download | inkscape-1f44e9972089992cb0ec970a1661e0399161282d.tar.gz inkscape-1f44e9972089992cb0ec970a1661e0399161282d.zip | |
ShapeEditor: Always keep KnotHolders in set_item()
Diffstat (limited to 'src/ui/shape-editor.h')
| -rw-r--r-- | src/ui/shape-editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/shape-editor.h b/src/ui/shape-editor.h index 67bce1c98..4618d13e1 100644 --- a/src/ui/shape-editor.h +++ b/src/ui/shape-editor.h @@ -26,7 +26,7 @@ public: ShapeEditor(SPDesktop *desktop, Geom::Affine edit_transform = Geom::identity()); ~ShapeEditor(); - void set_item(SPItem *item, bool keep_knotholder = false); + void set_item(SPItem *item); void unset_item(bool keep_knotholder = false); void update_knotholder(); //((deprecated)) @@ -42,7 +42,7 @@ public: static void event_attr_changed(Inkscape::XML::Node * /*repr*/, char const *name, char const * /*old_value*/, char const * /*new_value*/, bool /*is_interactive*/, void *data); private: - void reset_item (bool keep_knotholder = true); + void reset_item(); static bool _blockSetItem; SPDesktop *desktop; |
