diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-11-05 02:16:58 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-11-05 02:16:58 +0000 |
| commit | b6792e77c6bd4e0a8db73da7b7e88319d6b9acfe (patch) | |
| tree | 64e06ece052b658695f1fc626efd528276b850a8 /src/ui/tool | |
| parent | Fix a editor auto paste (diff) | |
| download | inkscape-b6792e77c6bd4e0a8db73da7b7e88319d6b9acfe.tar.gz inkscape-b6792e77c6bd4e0a8db73da7b7e88319d6b9acfe.zip | |
Fix https://gitlab.com/inkscape/inbox/issues/871 Measure Segments LPE: Labels shifted, https://gitlab.com/inkscape/inkscape/issues/119, Measure Segments LPE: Measure bounding box + enlarge bb causes crash and https://gitlab.com/inkscape/inbox/issues/189 Measure Segments LPE: String formatting for label doesn't work as expected
Diffstat (limited to 'src/ui/tool')
| -rw-r--r-- | src/ui/tool/curve-drag-point.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tool/curve-drag-point.cpp b/src/ui/tool/curve-drag-point.cpp index 931726275..4e878d07e 100644 --- a/src/ui/tool/curve-drag-point.cpp +++ b/src/ui/tool/curve-drag-point.cpp @@ -69,6 +69,7 @@ bool CurveDragPoint::grabbed(GdkEventMotion */*event*/) void CurveDragPoint::dragged(Geom::Point &new_pos, GdkEventMotion *event) { + if (!first || !first.next()) return; NodeList::iterator second = first.next(); // special cancel handling - retract handles when if the segment was degenerate |
