mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Remove dismissable = False from messages as it's the default
This commit is contained in:
parent
e52339a424
commit
7b7c687db7
1 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue