Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-03-30 16:13:34 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-03-30 16:13:34 +0300
commit1acf96dfa1780d6a494b8beca177b8034eaef62d (patch)
treec18ed37ef65e75b83c21ec77a2d7a86ff78264a1 /resources/qml/Cura.qml
parent337e2aa4bb08a817eabf64fb10bd0691e790bba8 (diff)
Update file dialog propertiesCURA-8640_PyQt6
Due to API change CURA-8640
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r--resources/qml/Cura.qml9
1 files changed, 2 insertions, 7 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml
index 24ab9dc48a..e4a8a9ee48 100644
--- a/resources/qml/Cura.qml
+++ b/resources/qml/Cura.qml
@@ -635,14 +635,9 @@ UM.MainWindow
//: File open dialog title
title: catalog.i18nc("@title:window","Open file(s)")
modality: Qt.WindowModal
- selectMultiple: true
+ fileMode: FileDialog.OpenFiles
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
- folder:
- {
- //Because several implementations of the file dialog only update the folder when it is explicitly set.
- folder = CuraApplication.getDefaultPath("dialog_load_path");
- return CuraApplication.getDefaultPath("dialog_load_path");
- }
+ currentFolder: CuraApplication.getDefaultPath("dialog_load_path")
onAccepted:
{
// Because several implementations of the file dialog only update the folder