Made PrintItemWrapper able to take a containing LibraryPrivider handle
Made the providers pass themselves when building PrintItemWrappers Fixed the bug with print history not setting the correct item to print Took out LibrarySQLiteData (not replaced with LibraryProviderSQLite) Made code go through the new SQLite provider to add parts during setup Starting work on Save as Window to save to queue or provider and do provider selection
This commit is contained in:
parent
a0d4c68ae4
commit
5f4ea81a4c
12 changed files with 48 additions and 427 deletions
|
|
@ -181,7 +181,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
{
|
||||
string fileName = currentDirectoryFiles[itemIndex];
|
||||
|
||||
return new PrintItemWrapper(new DataStorage.PrintItem(Path.GetFileNameWithoutExtension(fileName), fileName));
|
||||
return new PrintItemWrapper(new DataStorage.PrintItem(Path.GetFileNameWithoutExtension(fileName), fileName), this);
|
||||
}
|
||||
|
||||
public override LibraryProvider GetProviderForItem(PrintItemCollection collection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue