mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 20:59:11 +08:00
Update plugins/UM3NetworkPrinting/src/Messages/PrintJobAwaitingApprovalMessage.py
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
0993dc99f9
commit
119fb32681
@ -27,7 +27,7 @@ class PrintJobPendingApprovalMessage(Message):
|
|||||||
|
|
||||||
self.actionTriggered.connect(self._onActionTriggered)
|
self.actionTriggered.connect(self._onActionTriggered)
|
||||||
|
|
||||||
def _onActionTriggered(self, message: Message, action: str):
|
def _onActionTriggered(self, message: Message, action: str) -> None:
|
||||||
""" 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. """
|
||||||
match action:
|
match action:
|
||||||
case "manage_print_jobs":
|
case "manage_print_jobs":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user