diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-05-13 12:08:20 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-05-13 12:08:20 +0300 |
| commit | 82ea027530fa6e2512b30d1e069a602aed73be5f (patch) | |
| tree | 6af1d6a41973f0598f063dd0c122ef139a412994 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer | |
| parent | e74f4da5899eea9abea143771fa2a950a50da963 (diff) | |
| parent | c61415008c418af3d628185efa1fa746aaf0516c (diff) | |
| download | Tango-82ea027530fa6e2512b30d1e069a602aed73be5f.tar.gz Tango-82ea027530fa6e2512b30d1e069a602aed73be5f.zip | |
move to one motors id enum + remove AMT_OF_WORDS
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs index ab0df302e..739f0bcde 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/ViewModels/MainViewVM.cs @@ -1856,8 +1856,8 @@ namespace Tango.MachineStudio.Developer.ViewModels { try { - String tempPath = PathHelper.GetTempFolderPath(); - String filePath = Path.Combine(tempPath, job.EmbroideryFileName); + var tempDir = TemporaryManager.CreateFolder(); + String filePath = Path.Combine(tempDir.Path, job.EmbroideryFileName); File.WriteAllBytes(filePath, job.EmbroideryFileData); EmbroideryFileConverter.ConvertEmbroideryFile(filePath, dlg.FileName); _notification.ShowInfo("Embroidery file exported successfully."); |
