mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 08:14:22 +08:00
Network printing now sees empty state as idle
This commit is contained in:
parent
84b522a4c8
commit
289c9ed8ee
@ -625,7 +625,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
# is ignored.
|
# is ignored.
|
||||||
# \param kwargs Keyword arguments.
|
# \param kwargs Keyword arguments.
|
||||||
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None, **kwargs):
|
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None, **kwargs):
|
||||||
if self._printer_state != "idle":
|
if self._printer_state not in ["idle", ""]:
|
||||||
self._error_message = Message(
|
self._error_message = Message(
|
||||||
i18n_catalog.i18nc("@info:status", "Unable to start a new print job, printer is busy. Current printer status is %s.") % self._printer_state)
|
i18n_catalog.i18nc("@info:status", "Unable to start a new print job, printer is busy. Current printer status is %s.") % self._printer_state)
|
||||||
self._error_message.show()
|
self._error_message.show()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user