summaryrefslogtreecommitdiff
path: root/lib/gui/simulator
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gui/simulator')
-rw-r--r--lib/gui/simulator/drawing_panel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/simulator/drawing_panel.py b/lib/gui/simulator/drawing_panel.py
index 1587ecfa..4a07bfd7 100644
--- a/lib/gui/simulator/drawing_panel.py
+++ b/lib/gui/simulator/drawing_panel.py
@@ -186,13 +186,13 @@ class DrawingPanel(wx.Panel):
if len(stitches) > 1:
self.draw_stitch_lines(canvas, pen, stitches, jumps)
self.draw_needle_penetration_points(canvas, pen, stitches)
- last_stitch = stitches[-1]
+ last_stitch = stitches[-1]
else:
stitches = stitches[:int(self.current_stitch) - stitch]
if len(stitches) > 1:
self.draw_stitch_lines(canvas, pen, stitches, jumps)
self.draw_needle_penetration_points(canvas, pen, stitches)
- last_stitch = stitches[-1]
+ last_stitch = stitches[-1]
break
if last_stitch: