Add zip support to SqliteContainer
- Issue MatterHackers/MCCentral#2814 Investigate LocalLibraryAddButtonAddZipToLibrary failure
This commit is contained in:
parent
bd8b9b4464
commit
3091128c1a
3 changed files with 29 additions and 10 deletions
|
|
@ -51,10 +51,15 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
public override bool IsProtected { get; } = true;
|
||||
|
||||
public LocalZipContainerLink(string filePath)
|
||||
public LocalZipContainerLink(string filePath, string nameOverride = null)
|
||||
: base(filePath)
|
||||
{
|
||||
this.ThumbnailKey = null;
|
||||
|
||||
if (nameOverride != null)
|
||||
{
|
||||
this.Name = nameOverride;
|
||||
}
|
||||
}
|
||||
|
||||
private string currentDirectory = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue