mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Merge branch '3.0'
Conflict in ClusterControlItem.qml where there was a new element in Master that wasn't present in 3.0. That element wasn't referenced anywhere else so I just removed it.
This commit is contained in:
commit
1d7792861d
20 changed files with 221 additions and 73 deletions
|
@ -335,8 +335,11 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
if self._image_reply:
|
||||
try:
|
||||
try:
|
||||
self._image_reply.downloadProgress.disconnect(self._onStreamDownloadProgress)
|
||||
except TypeError:
|
||||
pass #The signal was never connected.
|
||||
self._image_reply.abort()
|
||||
self._image_reply.downloadProgress.disconnect(self._onStreamDownloadProgress)
|
||||
except RuntimeError:
|
||||
pass # It can happen that the wrapped c++ object is already deleted.
|
||||
self._image_reply = None
|
||||
|
@ -427,7 +430,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
Logger.log("d", "Requestion authentication for %s due to action %s" % (self._key, action_id))
|
||||
self._authentication_failed_message.hide()
|
||||
self._not_authenticated_message.hide()
|
||||
self._authentication_state = AuthState.NotAuthenticated
|
||||
self.setAuthenticationState(AuthState.NotAuthenticated)
|
||||
self._authentication_counter = 0
|
||||
self._authentication_requested_message.setProgress(0)
|
||||
self._authentication_id = None
|
||||
|
@ -614,7 +617,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
# Reset authentication state
|
||||
self._authentication_requested_message.hide()
|
||||
self._authentication_state = AuthState.NotAuthenticated
|
||||
self.setAuthenticationState(AuthState.NotAuthenticated)
|
||||
self._authentication_counter = 0
|
||||
self._authentication_timer.stop()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue