After reconecting to another port update job status '_is_cancelled' to false

CURA-5549
This commit is contained in:
Aleksei S 2018-07-13 23:50:02 +02:00
parent 31891e631c
commit 817a304ed1
2 changed files with 8 additions and 0 deletions

View file

@ -290,6 +290,9 @@ class StartSliceJob(Job):
def isCancelled(self) -> bool:
return self._is_cancelled
def setIsCancelled(self, value: bool):
self._is_cancelled = value
## Creates a dictionary of tokens to replace in g-code pieces.
#
# This indicates what should be replaced in the start and end g-codes.