Add zip support to SqliteContainer

- Issue MatterHackers/MCCentral#2814
Investigate LocalLibraryAddButtonAddZipToLibrary failure
This commit is contained in:
John Lewin 2018-02-10 00:12:48 -08:00
parent bd8b9b4464
commit 3091128c1a
3 changed files with 29 additions and 10 deletions

View file

@ -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 = "";