mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Update enum, this fixes connecting to printers
CURA-8640
This commit is contained in:
parent
6d2293db08
commit
aa190024d4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class PrintJobOutputModel(QObject):
|
||||||
# requires a QUrl to function, updates correctly we add an increasing number. This causes to see the QUrl
|
# requires a QUrl to function, updates correctly we add an increasing number. This causes to see the QUrl
|
||||||
# as new (instead of relying on cached version and thus forces an update.
|
# as new (instead of relying on cached version and thus forces an update.
|
||||||
temp = "image://print_job_preview/" + str(self._preview_image_id) + "/" + self._key
|
temp = "image://print_job_preview/" + str(self._preview_image_id) + "/" + self._key
|
||||||
return QUrl(temp, QUrl.TolerantMode)
|
return QUrl(temp, QUrl.ParsingMode.TolerantMode)
|
||||||
|
|
||||||
def getPreviewImage(self) -> Optional[QImage]:
|
def getPreviewImage(self) -> Optional[QImage]:
|
||||||
return self._preview_image
|
return self._preview_image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue