mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Consider user preference when opening project files from cli.
The logic using just a "skip_project_file_check" boolean was too obscure imho, so used a string value with more explicit values to improve readability CURA-6824
This commit is contained in:
parent
eb1d0248c2
commit
2df0d96923
3 changed files with 23 additions and 5 deletions
|
@ -87,7 +87,7 @@ 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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue