mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Stop slicing if an error occurred
If the user has auto-slicing enabled, this causes the indeterminate progress bar to appear. If the user doesn't have auto-slicing enabled, this causes the slice button to reappear. Both of these indicate that something has caused slicing to be interrupted. The message should make clear why. Contributes to issue CURA-6568.
This commit is contained in:
parent
399b378ba6
commit
26487c5b31
1 changed files with 1 additions and 0 deletions
|
@ -937,6 +937,7 @@ class CuraEngineBackend(QObject, Backend):
|
|||
)
|
||||
message.actionTriggered.connect(self._reportBackendError)
|
||||
message.show()
|
||||
self.stopSlicing()
|
||||
else:
|
||||
Logger.log("d", "Backend finished slicing. Resetting process and socket.")
|
||||
self._process = None # type: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue