mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 18:18:59 +08:00
Revert "Replace new message string with a logging line"
This reverts commit e052c3ba83f1e90777375f51e2612ec1df17fc55. CURA-4398
This commit is contained in:
parent
e052c3ba83
commit
39fc03c550
@ -843,9 +843,13 @@ 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:
|
||||||
Logger.log("d", "Sending new jobs (temporarily) blocked, still sending the previous print job.")
|
self._error_message = Message(
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user