mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 12:35:57 +08:00
Remove dismissable = False from messages as it's the default
This commit is contained in:
parent
e52339a424
commit
7b7c687db7
@ -320,8 +320,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
Message(
|
Message(
|
||||||
text = message,
|
text = message,
|
||||||
title = T.ERROR,
|
title = T.ERROR,
|
||||||
lifetime = 10,
|
lifetime = 10
|
||||||
dismissable = True
|
|
||||||
).show()
|
).show()
|
||||||
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
||||||
self.writeError.emit()
|
self.writeError.emit()
|
||||||
@ -334,8 +333,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
Message(
|
Message(
|
||||||
text = T.UPLOAD_SUCCESS_TEXT,
|
text = T.UPLOAD_SUCCESS_TEXT,
|
||||||
title = T.UPLOAD_SUCCESS_TITLE,
|
title = T.UPLOAD_SUCCESS_TITLE,
|
||||||
lifetime = 5,
|
lifetime = 5
|
||||||
dismissable = True,
|
|
||||||
).show()
|
).show()
|
||||||
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
||||||
self.writeFinished.emit()
|
self.writeFinished.emit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user