diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-10-12 08:57:20 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-10-12 08:59:43 +0300 |
commit | 052ea7d90aa461ea9f1fb0194eb2709057243ff5 (patch) | |
tree | 5677319debb8582e5a6f88860da19e4af3947334 /cura/CuraApplication.py | |
parent | eaa7b75f0e2d4981e0aa2de640e80fdbca818353 (diff) |
Force use and update the job name with the loaded project file
CURA-4348
- If no project is loaded beforehand and then a model file is loaded,
the job name should be determined with the current machine name and
the first loaded model name.
- If a project is loaded, the job name should be the same as the project
name, and it should not change until another project is loaded.
Diffstat (limited to 'cura/CuraApplication.py')
-rwxr-xr-x | cura/CuraApplication.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index fc7edb8714..e34bdc6908 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -125,6 +125,8 @@ class CuraApplication(QtApplication): # Cura will always show the Add Machine Dialog upon start. stacksValidationFinished = pyqtSignal() # Emitted whenever a validation is finished + projectFileLoaded = pyqtSignal(str) # Emitted whenever a project file is loaded + def __init__(self): # this list of dir names will be used by UM to detect an old cura directory for dir_name in ["extruders", "machine_instances", "materials", "plugins", "quality", "user", "variants"]: |