mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:39:04 +08:00
Update cura/SingleInstance.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
parent
cf1a7889c2
commit
495be39d1f
@ -103,7 +103,7 @@ class SingleInstance:
|
|||||||
#command: Load a url link in Cura
|
#command: Load a url link in Cura
|
||||||
elif command == "open-url":
|
elif command == "open-url":
|
||||||
url = QUrl(payload["urlPath"])
|
url = QUrl(payload["urlPath"])
|
||||||
self._application.callLater(lambda f = url: self._application._openUrl(f))
|
self._application.callLater(lambda: self._application._openUrl(url))
|
||||||
|
|
||||||
|
|
||||||
# Command: Activate the window and bring it to the top.
|
# Command: Activate the window and bring it to the top.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user