Fix drop failure

This commit is contained in:
John Lewin 2019-01-08 18:35:03 -08:00
parent 80285fe6e6
commit 8360cbc9c5

View file

@ -40,6 +40,9 @@ namespace MatterHackers.MatterControl.Library
public OnDemandLibraryItem(string name)
{
this.Name = name ?? "Unknown".Localize();
// TODO: Fix cheat this quick hack which in the short term naively allows IsContentFileType to return true and drag/drop to succeed
this.ContentType = "mcx";
}
public string ID => Guid.NewGuid().ToString();