mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:45:54 +08: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
@ -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…
x
Reference in New Issue
Block a user