Rename working for SQLite provider.

This commit is contained in:
larsbrubaker 2015-07-28 14:38:47 -07:00
parent 38d55cb2f2
commit 09db21f663

View file

@ -88,12 +88,16 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
public override void RenameCollection(int collectionIndexToRename, string newName)
{
throw new NotImplementedException();
childCollections[collectionIndexToRename].Name = newName;
childCollections[collectionIndexToRename].Commit();
LoadLibraryItems();
}
public override void RenameItem(int itemIndexToRename, string newName)
{
throw new NotImplementedException();
printItems[itemIndexToRename].PrintItem.Name = newName;
printItems[itemIndexToRename].PrintItem.Commit();
LoadLibraryItems();
}
public static string StaticProviderKey