mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix recent files hint when file opens via dialoges.
This commit is contained in:
parent
f2088d7fc8
commit
06666bddca
3 changed files with 5 additions and 2 deletions
|
|
@ -37,7 +37,8 @@ UM.Dialog
|
|||
UM.Preferences.setValue("cura/choice_on_open_project", "open_as_project")
|
||||
}
|
||||
|
||||
UM.WorkspaceFileHandler.readLocalFile(base.fileUrl)
|
||||
var addToRecent = UM.WorkspaceFileHandler.getAddToRecentFilesHint(base.fileUrl);
|
||||
UM.WorkspaceFileHandler.readLocalFile(base.fileUrl, addToRecent);
|
||||
|
||||
base.hide()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue