mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Use the new read/write local file methods to load and save meshes in printer
This commit is contained in:
parent
aa1889754e
commit
c440c4bbdb
1 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ UM.MainWindow {
|
|||
width: UM.Theme.panelWidth;
|
||||
height: 40;
|
||||
|
||||
onSaveRequested: saveAction.trigger();
|
||||
onSaveRequested: actions.save.trigger();
|
||||
}
|
||||
|
||||
UM.MessageStack {
|
||||
|
@ -238,7 +238,7 @@ UM.MainWindow {
|
|||
|
||||
onAccepted:
|
||||
{
|
||||
UM.Controller.addMesh(fileUrl)
|
||||
UM.MeshFileHandler.readLocalFile(fileUrl)
|
||||
files.setDirectory(fileUrl)
|
||||
}
|
||||
}
|
||||
|
@ -255,7 +255,7 @@ UM.MainWindow {
|
|||
|
||||
onAccepted:
|
||||
{
|
||||
Printer.saveGCode(fileUrl);
|
||||
UM.MeshFileHandler.writeLocalFile(fileUrl);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue