mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
re-implemented abort & pause for legacy um3
CL-541
This commit is contained in:
parent
57406100ef
commit
57de028608
8 changed files with 61 additions and 38 deletions
|
@ -177,19 +177,19 @@ class PrinterOutputModel(QObject):
|
|||
@pyqtProperty(bool, constant=True)
|
||||
def canPause(self):
|
||||
if self._controller:
|
||||
return self.can_pause
|
||||
return self._controller.can_pause
|
||||
return False
|
||||
|
||||
# Does the printer support abort at all
|
||||
@pyqtProperty(bool, constant=True)
|
||||
def canAbort(self):
|
||||
if self._controller:
|
||||
return self.can_abort
|
||||
return self._controller.can_abort
|
||||
return False
|
||||
|
||||
# Does the printer support manual control at all
|
||||
@pyqtProperty(bool, constant=True)
|
||||
def canControlManually(self):
|
||||
if self._controller:
|
||||
return self.can_control_manually
|
||||
return self._controller.can_control_manually
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue