mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 01:45:56 +08:00
Hiding messages is now only done when there are messages
CURA-49
This commit is contained in:
parent
12dcc43bac
commit
b9f73a8eef
@ -185,8 +185,10 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.setConnectionState(ConnectionState.closed)
|
self.setConnectionState(ConnectionState.closed)
|
||||||
|
if self._progress_message:
|
||||||
self._progress_message.hide()
|
self._progress_message.hide()
|
||||||
self._authentication_requested_message.hide()
|
self._authentication_requested_message.hide()
|
||||||
|
if self._error_message:
|
||||||
self._error_message.hide()
|
self._error_message.hide()
|
||||||
self._authentication_counter = 0
|
self._authentication_counter = 0
|
||||||
self._authentication_timer.stop()
|
self._authentication_timer.stop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user