Use correct value for multiple file open enum

Previously we used the qdialog enum, which isn't the one you should
use for the qml dialog.

CURA-10741
This commit is contained in:
Jaime van Kessel 2023-07-28 10:52:27 +02:00
parent 3d289d75f9
commit 1d91eca483
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -628,7 +628,7 @@ UM.MainWindow
//: File open dialog title
title: catalog.i18nc("@title:window","Open file(s)")
modality: Qt.WindowModal
fileMode: FileDialog.FileMode.ExistingFile
fileMode: FileDialog.FileMode.OpenFiles
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
currentFolder: CuraApplication.getDefaultPath("dialog_load_path")
onAccepted: