Use Path.Combine() for concatenating paths instead of "+"

This commit is contained in:
Gregory Diaz 2015-09-08 14:36:59 -07:00
parent 66ee409c8c
commit aac0de598f
2 changed files with 6 additions and 5 deletions

View file

@ -380,7 +380,7 @@ namespace MatterHackers.MatterControl.PrintQueue
}
if (!File.Exists(locationToSaveTo))
if (!File.Exists(locationToSaveTo) && File.Exists(fileNameToLoad))
{
File.Copy(fileNameToLoad, locationToSaveTo);
}