mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Fix loading of files
This commit is contained in:
parent
814b706641
commit
19d82a770c
1 changed files with 4 additions and 4 deletions
|
@ -623,12 +623,12 @@ UM.MainWindow
|
|||
{
|
||||
// Because several implementations of the file dialog only update the folder
|
||||
// when it is explicitly set.
|
||||
var f = folder;
|
||||
folder = f;
|
||||
var f = currentFolder;
|
||||
currentFolder = f;
|
||||
|
||||
CuraApplication.setDefaultPath("dialog_load_path", folder);
|
||||
CuraApplication.setDefaultPath("dialog_load_path", currentFolder);
|
||||
|
||||
handleOpenFileUrls(fileUrls);
|
||||
handleOpenFileUrls(selectedFiles);
|
||||
}
|
||||
|
||||
// Yeah... I know... it is a mess to put all those things here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue