mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Revert "Do not show the "load project or models" dialog when opening a file from a command line argument"
This reverts commit abfd7e92
, because the desired behavior has still tbd
This commit is contained in:
parent
abfd7e9266
commit
2c12d713e3
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 or project file
|
||||
# Command: Load a model file
|
||||
elif command == "open":
|
||||
self._application.callLater(lambda f, skip_check = payload["filePath"]: self._application._openFile(f, skip_check))
|
||||
self._application.callLater(lambda f = payload["filePath"]: self._application._openFile(f))
|
||||
|
||||
# Command: Activate the window and bring it to the top.
|
||||
elif command == "focus":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue