Use Path.Combine() for concatenating paths instead of "+"
This commit is contained in:
parent
66ee409c8c
commit
aac0de598f
2 changed files with 6 additions and 5 deletions
|
|
@ -380,7 +380,7 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
|
||||
}
|
||||
|
||||
if (!File.Exists(locationToSaveTo))
|
||||
if (!File.Exists(locationToSaveTo) && File.Exists(fileNameToLoad))
|
||||
{
|
||||
File.Copy(fileNameToLoad, locationToSaveTo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue