diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-04-10 19:55:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-10 19:55:48 +0200 |
| commit | 7ce3c8e7a04b86163f3b9f0a206b135411e3293b (patch) | |
| tree | fb9ead1ac9c2d00bede6945b28c44a23d7bed3bc /lib/gui/simulator.py | |
| parent | 22f1bc5cb007fe44ed5b238d197e5ce83180d33b (diff) | |
output a warning in params if simulation cannot load (#1143)
Diffstat (limited to 'lib/gui/simulator.py')
| -rw-r--r-- | lib/gui/simulator.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py index 27b9a97e..3e1f68c5 100644 --- a/lib/gui/simulator.py +++ b/lib/gui/simulator.py @@ -5,13 +5,11 @@ import sys import time -import traceback from threading import Event, Thread import wx from wx.lib.intctrl import IntCtrl -from .dialogs import info_dialog from ..i18n import _ from ..stitch_plan import patches_to_stitch_plan, stitch_plan_from_file from ..svg import PIXELS_PER_MM @@ -822,8 +820,6 @@ class SimulatorPreview(Thread): on_close=self.simulate_window_closed, target_duration=self.target_duration) except Exception: - error = traceback.format_exc() - try: # a window may have been created, so we need to destroy it # or the app will never exit @@ -831,8 +827,6 @@ class SimulatorPreview(Thread): except Exception: pass - info_dialog(self, error, _("Internal Error")) - self.simulate_window.Show() wx.CallLater(10, self.parent.Raise) |
