mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Properly check whether the file should be added to recent
When importing only the models of a project file, Cura wasn't checking whether the file should be added to the recent files list. This commit fixes that. CURA-7996
This commit is contained in:
parent
e2699a5ab8
commit
ee22be74b9
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ UM.Dialog
|
||||||
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_model")
|
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_model")
|
||||||
}
|
}
|
||||||
|
|
||||||
CuraApplication.readLocalFile(base.fileUrl, "open_as_model")
|
var addToRecent = UM.WorkspaceFileHandler.getAddToRecentFilesHint(base.fileUrl);
|
||||||
|
CuraApplication.readLocalFile(base.fileUrl, "open_as_model", addToRecent)
|
||||||
|
|
||||||
base.hide()
|
base.hide()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue