diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-06-15 09:08:03 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-06-15 09:08:03 +0000 |
| commit | ccacefacda584c206625b7759001d3d8c531cfed (patch) | |
| tree | 8c00cc50f5bb400b62639c06c234d11fa982502b /src/ui/tools/pen-tool.cpp | |
| parent | update to trunk (r13407) (diff) | |
| parent | Allow symbol zooming independent of icon screen size. (diff) | |
| download | inkscape-ccacefacda584c206625b7759001d3d8c531cfed.tar.gz inkscape-ccacefacda584c206625b7759001d3d8c531cfed.zip | |
update to trunk (r13425)
(bzr r13398.1.3)
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 09c0a2a4f..b089065e8 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -481,6 +481,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; } @@ -1018,6 +1019,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; } |
