Merge pull request #2857 from fieldOfView/fix_cluster_postprocessing

Allow postprocessing before sending data to the printer
This commit is contained in:
ChrisTerBeke 2017-12-01 15:12:53 +01:00 committed by GitHub
commit af2b370921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,8 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte
self._error_message.show()
return
self.writeStarted.emit(self) # Allow postprocessing before sending data to the printer
if len(self._printers) > 1:
self.spawnPrintView() # Ask user how to print it.
elif len(self._printers) == 1: