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