Replace new message string with a logging line

CURA-4398
This commit is contained in:
Lipu Fei 2017-10-06 09:50:01 +02:00
parent 71f794f76d
commit e052c3ba83

View file

@ -843,13 +843,9 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
# This function can fail to actually start a print due to not being authenticated or another print already # This function can fail to actually start a print due to not being authenticated or another print already
# being in progress. # being in progress.
def startPrint(self): def startPrint(self):
# Check if we're already writing # Check if we're already writing
if not self._write_finished: if not self._write_finished:
self._error_message = Message( Logger.log("d", "Sending new jobs (temporarily) blocked, still sending the previous print job.")
i18n_catalog.i18nc("@info:status",
"Sending new jobs (temporarily) blocked, still sending the previous print job."))
self._error_message.show()
return return
# Indicate we're starting a new write action, is set back to True at the end of this method # Indicate we're starting a new write action, is set back to True at the end of this method