summaryrefslogtreecommitdiff
path: root/lib/gui/simulator.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2021-08-07 12:18:55 -0400
committerLex Neva <github.com@lexneva.name>2021-08-07 12:18:55 -0400
commit173548dee569b0503ba1ddeba5cb8aae74c44c46 (patch)
treec17c62c7f593524d3a72e668502506f1aebe5bd4 /lib/gui/simulator.py
parent4b9df25a9a0203072c6a47b9ce29505561463fbf (diff)
rename more patch references
Diffstat (limited to 'lib/gui/simulator.py')
-rw-r--r--lib/gui/simulator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py
index 94be66db..d031590b 100644
--- a/lib/gui/simulator.py
+++ b/lib/gui/simulator.py
@@ -11,7 +11,7 @@ import wx
from wx.lib.intctrl import IntCtrl
from ..i18n import _
-from ..stitch_plan import patches_to_stitch_plan, stitch_plan_from_file
+from ..stitch_plan import stitch_groups_to_stitch_plan, stitch_plan_from_file
from ..svg import PIXELS_PER_MM
# L10N command label at bottom of simulator window
@@ -789,7 +789,7 @@ class SimulatorPreview(Thread):
return
if patches and not self.refresh_needed.is_set():
- stitch_plan = patches_to_stitch_plan(patches)
+ stitch_plan = stitch_groups_to_stitch_plan(patches)
# GUI stuff needs to happen in the main thread, so we ask the main
# thread to call refresh_simulator().