mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Update file dialog properties
Due to API change CURA-8640
This commit is contained in:
parent
337e2aa4bb
commit
1acf96dfa1
1 changed files with 2 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue