mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
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:
parent
061a09f8b8
commit
b5b6f8197b
@ -96,6 +96,9 @@ class AbstractCloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
|
|||||||
|
|
||||||
@pyqtSlot(str)
|
@pyqtSlot(str)
|
||||||
def printerSelected(self, unique_id: 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)
|
self._request_write_callback(unique_id, self._nodes)
|
||||||
if self._on_print_dialog:
|
if self._on_print_dialog:
|
||||||
self._on_print_dialog.close()
|
self._on_print_dialog.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user