mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Do not show the "load project or models" dialog when opening a file from
a command line argument
This commit is contained in:
parent
6b8a195fb4
commit
abfd7e9266
2 changed files with 5 additions and 5 deletions
|
@ -87,9 +87,9 @@ class SingleInstance:
|
|||
if command == "clear-all":
|
||||
self._application.callLater(lambda: self._application.deleteAll())
|
||||
|
||||
# Command: Load a model file
|
||||
# Command: Load a model or project file
|
||||
elif command == "open":
|
||||
self._application.callLater(lambda f = payload["filePath"]: self._application._openFile(f))
|
||||
self._application.callLater(lambda f, skip_check = payload["filePath"]: self._application._openFile(f, skip_check))
|
||||
|
||||
# Command: Activate the window and bring it to the top.
|
||||
elif command == "focus":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue