mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 14:25:53 +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(
|
||||
text = message,
|
||||
title = T.ERROR,
|
||||
lifetime = 10,
|
||||
dismissable = True
|
||||
lifetime = 10
|
||||
).show()
|
||||
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
||||
self.writeError.emit()
|
||||
@ -334,8 +333,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
||||
Message(
|
||||
text = T.UPLOAD_SUCCESS_TEXT,
|
||||
title = T.UPLOAD_SUCCESS_TITLE,
|
||||
lifetime = 5,
|
||||
dismissable = True,
|
||||
lifetime = 5
|
||||
).show()
|
||||
self._sending_job = False # the upload has finished so we're not sending a job anymore
|
||||
self.writeFinished.emit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user