diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-06-19 02:32:07 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-06-19 02:32:07 +0000 |
| commit | f164dc6009f644939ba5fb09503fe0e35f1d4aae (patch) | |
| tree | 281c32b52168c049ce35d0f459413c28aa92a7b1 /src/ui/tools/pen-tool.cpp | |
| parent | Add clip group option from Ponyscape (diff) | |
| parent | Fix make check (diff) | |
| download | inkscape-f164dc6009f644939ba5fb09503fe0e35f1d4aae.tar.gz inkscape-f164dc6009f644939ba5fb09503fe0e35f1d4aae.zip | |
Update to experimental r13404
(bzr r13090.1.84)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
| -rw-r--r-- | src/ui/tools/pen-tool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index f8243fb7f..0d8a2668b 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -538,6 +538,7 @@ bool PenTool::_handleButtonPress(GdkEventButton const &bevent) { ret = true; } else if (bevent.button == 3 && this->npoints != 0) { // right click - finish path + this->ea = NULL; // unset end anchor if set (otherwise crashes) this->_finish(false); ret = true; } @@ -1202,6 +1203,7 @@ bool PenTool::_handleKeyPress(GdkEvent *event) { case GDK_KEY_Return: case GDK_KEY_KP_Enter: if (this->npoints != 0) { + this->ea = NULL; // unset end anchor if set (otherwise crashes) this->_finish(false); ret = true; } |
