Show latest version nr. available in firmware-update-checker-message.

This commit is contained in:
Remco Burema 2020-06-05 13:29:21 +02:00
parent fd2a7689cc
commit 670f1df6c7
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
2 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2018 Ultimaker B.V.
# Copyright (c) 2020 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from UM.Application import Application
@ -114,7 +114,7 @@ class FirmwareUpdateCheckerJob(Job):
# notify the user when no new firmware version is available.
if (checked_version != "") and (checked_version != current_version):
Logger.log("i", "Showing firmware update message for new version: {version}".format(version = current_version))
message = FirmwareUpdateCheckerMessage(machine_id, self._machine_name,
message = FirmwareUpdateCheckerMessage(machine_id, self._machine_name, current_version,
self._lookups.getRedirectUserUrl())
message.actionTriggered.connect(self._callback)
message.show()