Update plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
Jaime van Kessel 2021-07-12 17:13:32 +02:00 committed by GitHub
parent b4a8cb1b82
commit 2b5747f3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
message.addAction("monitor print",
name=I18N_CATALOG.i18nc("@action:button", "Monitor Print"),
icon="",
description="Remove the plugin",
description=I18N_CATALOG.i18nc("@action:tooltip", "Track the print in Ultimaker Digital Factory"),
button_align=message.ActionButtonAlignment.ALIGN_RIGHT)
df_url = "https://digitalfactory.ultimaker.com/app/jobs/%s?utm_source=cura&utm_medium=software&utm_campaign=monitor-button" % self._cluster.cluster_id
message.pyQtActionTriggered.connect(lambda message, action: (QDesktopServices.openUrl(QUrl(df_url)), message.hide()))