mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Check against the correct SDK version
Since the `self.setLastOutputName` is available in 4.12 (SDK 7.8.0) onwards. CURA-8566
This commit is contained in:
parent
c593f62271
commit
4e89ee0ccc
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ class DigitalFactoryOutputDevice(ProjectOutputDevice):
|
|||
|
||||
def _onWriteStarted(self, new_name: Optional[str] = None) -> None:
|
||||
self._writing = True
|
||||
if new_name and Version(ApplicationMetadata.CuraSDKVersion) >= Version("7.7.0"):
|
||||
# setLastOutputName is only supported sdk version 7.7.0 and up
|
||||
if new_name and Version(ApplicationMetadata.CuraSDKVersion) >= Version("7.8.0"):
|
||||
# setLastOutputName is only supported in sdk version 7.8.0 and up
|
||||
self.setLastOutputName(new_name)
|
||||
self.writeStarted.emit(self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue