mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 16:24:41 +08:00
Update file dialog properties
Due to API change CURA-8640
This commit is contained in:
parent
337e2aa4bb
commit
1acf96dfa1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user