Merge pull request #265 from gregory-diaz/development
Fixed Add to Library bug where print item was getting added to UI but…
This commit is contained in:
commit
1395676fe4
1 changed files with 3 additions and 0 deletions
|
|
@ -126,6 +126,9 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
}
|
||||
PrintItems.Insert(indexToInsert, item);
|
||||
OnItemAdded(new IndexArgs(indexToInsert));
|
||||
item.PrintItem.PrintItemCollectionID = LibraryData.Instance.LibraryCollection.Id;
|
||||
item.PrintItem.Commit();
|
||||
|
||||
}
|
||||
|
||||
public void RemoveItem(PrintItemWrapper printItemWrapper)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue