diff options
Diffstat (limited to 'src/ui/tools/rect-tool.cpp')
| -rw-r--r-- | src/ui/tools/rect-tool.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/tools/rect-tool.cpp b/src/ui/tools/rect-tool.cpp index 60524b275..7442c6eca 100644 --- a/src/ui/tools/rect-tool.cpp +++ b/src/ui/tools/rect-tool.cpp @@ -460,9 +460,13 @@ void RectTool::finishItem() { this->rect->doWriteTransform(this->rect->transform, NULL, true); this->desktop->canvas->endForcedFullRedraws(); - + this->desktop->getSelection()->set(this->rect); + if (this->rect->hasPathEffectRecursive()) { + this->desktop->getSelection()->toCurves(); + } + DocumentUndo::done(this->desktop->getDocument(), SP_VERB_CONTEXT_RECT, _("Create rectangle")); this->rect = NULL; |
