Fix the writeStarted emit

When printing via abstract printer, this signal was not correctly emitted
causing the postprocessing script to fail

CURA-10524
This commit is contained in:
Jaime van Kessel 2023-04-17 12:47:54 +02:00
parent 061a09f8b8
commit b5b6f8197b
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -96,6 +96,9 @@ class AbstractCloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
@pyqtSlot(str)
def printerSelected(self, unique_id: str):
# The device that it defers the actual write to isn't hooked up correctly. So we should emit the write signal
# here.
self.writeStarted.emit(self)
self._request_write_callback(unique_id, self._nodes)
if self._on_print_dialog:
self._on_print_dialog.close()