mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08: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
@ -591,7 +591,12 @@ UM.MainWindow
|
|||||||
modality: Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
selectMultiple: true
|
selectMultiple: true
|
||||||
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
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:
|
onAccepted:
|
||||||
{
|
{
|
||||||
// Because several implementations of the file dialog only update the folder
|
// Because several implementations of the file dialog only update the folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user