mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:55:54 +08:00
Fix loading of files
This commit is contained in:
parent
814b706641
commit
19d82a770c
@ -623,12 +623,12 @@ UM.MainWindow
|
|||||||
{
|
{
|
||||||
// Because several implementations of the file dialog only update the folder
|
// Because several implementations of the file dialog only update the folder
|
||||||
// when it is explicitly set.
|
// when it is explicitly set.
|
||||||
var f = folder;
|
var f = currentFolder;
|
||||||
folder = f;
|
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.
|
// Yeah... I know... it is a mess to put all those things here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user