mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:56:04 +08:00
Properly set the current folder on file open
This makes sure the next time the file dialog is opened the last folder used is openend. CURA-246 #Start-Review
This commit is contained in:
parent
e42ffb23ca
commit
0b9047f6ca
@ -636,6 +636,11 @@ UM.MainWindow
|
||||
|
||||
onAccepted:
|
||||
{
|
||||
//Because several implementations of the file dialog only update the folder
|
||||
//when it is explicitly set.
|
||||
var f = folder;
|
||||
folder = f;
|
||||
|
||||
UM.MeshFileHandler.readLocalFile(fileUrl)
|
||||
openDialog.sendMeshName(fileUrl.toString())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user