Add easy ability to brows printed files
This commit is contained in:
parent
42cff97679
commit
45d0458db5
4 changed files with 68 additions and 1 deletions
|
|
@ -294,6 +294,20 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
fileItem.Path = destFile;
|
||||
|
||||
this.ReloadContent();
|
||||
}
|
||||
}
|
||||
else if (item is LocalZipContainerLink zipFile)
|
||||
{
|
||||
string sourceFile = zipFile.Path;
|
||||
if (File.Exists(sourceFile))
|
||||
{
|
||||
string extension = Path.GetExtension(sourceFile);
|
||||
string destFile = Path.Combine(Path.GetDirectoryName(sourceFile), revisedName);
|
||||
destFile = Path.ChangeExtension(destFile, extension);
|
||||
|
||||
File.Move(sourceFile, destFile);
|
||||
|
||||
this.ReloadContent();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue