Rename working for SQLite provider.
This commit is contained in:
parent
38d55cb2f2
commit
09db21f663
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue