Remove dismissable = False from messages as it's the default

This commit is contained in:
ChrisTerBeke 2018-12-11 12:46:05 +01:00
parent e52339a424
commit 7b7c687db7

View file

@ -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()