mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Attempt at fixing saving of load location on Linux
Hope this also works on the Qt version used by our build system...
This commit is contained in:
parent
4b8274d7cb
commit
7aec564848
1 changed files with 6 additions and 1 deletions
|
@ -591,7 +591,12 @@ UM.MainWindow
|
|||
modality: Qt.WindowModal
|
||||
selectMultiple: true
|
||||
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
||||
folder: CuraApplication.getDefaultPath("dialog_load_path")
|
||||
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");
|
||||
}
|
||||
onAccepted:
|
||||
{
|
||||
// Because several implementations of the file dialog only update the folder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue