mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:48:58 +08:00
Add link out to learn more
CURA-9221
This commit is contained in:
parent
1a023f7285
commit
30692bb4b8
@ -29,5 +29,8 @@ class PrintJobPendingApprovalMessage(Message):
|
|||||||
|
|
||||||
def _onActionTriggered(self, message: Message, action: str):
|
def _onActionTriggered(self, message: Message, action: str):
|
||||||
""" Callback function for the "Manage print jobs" button on the pending approval notification. """
|
""" Callback function for the "Manage print jobs" button on the pending approval notification. """
|
||||||
if action == "manage_print_jobs":
|
match action:
|
||||||
QDesktopServices.openUrl(QUrl("https://ultimaker.com/"))
|
case "manage_print_jobs":
|
||||||
|
QDesktopServices.openUrl(QUrl("https://ultimaker.com/"))
|
||||||
|
case "learn_more":
|
||||||
|
QDesktopServices.openUrl(QUrl("https://ultimaker.com/"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user