mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47: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
|
//: File open dialog title
|
||||||
title: catalog.i18nc("@title:window","Open file(s)")
|
title: catalog.i18nc("@title:window","Open file(s)")
|
||||||
modality: Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
selectMultiple: true
|
fileMode: FileDialog.OpenFiles
|
||||||
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
||||||
folder:
|
currentFolder: CuraApplication.getDefaultPath("dialog_load_path")
|
||||||
{
|
|
||||||
//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");
|
|
||||||
}
|
|
||||||
onAccepted:
|
onAccepted:
|
||||||
{
|
{
|
||||||
// Because several implementations of the file dialog only update the folder
|
// Because several implementations of the file dialog only update the folder
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue