diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-04-01 10:46:20 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-04-01 10:46:20 +0300 |
commit | 19d82a770c8d226552dbd8e6afe52d9be522a052 (patch) | |
tree | 263d0e4b206931d775c71c4090c00d5be8e24acc /resources/qml/Cura.qml | |
parent | 814b706641a0bb4384ce155f9d4829f3601af879 (diff) |
Fix loading of files
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r-- | resources/qml/Cura.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index b694affae2..2b419a5d76 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -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. |