Made PrintItemWarppers have a ProviderLocator rather than a Provider
Fixed some null reference bugs Fixed a bug with copy to library changing the queues file path Made save as work better.
This commit is contained in:
parent
fa97829073
commit
a0659dc8bb
10 changed files with 126 additions and 64 deletions
|
|
@ -205,7 +205,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
{
|
||||
string fileName = currentDirectoryFiles[itemIndex];
|
||||
|
||||
return new PrintItemWrapper(new DataStorage.PrintItem(GetPrintItemName(itemIndex), fileName), this);
|
||||
return new PrintItemWrapper(new DataStorage.PrintItem(GetPrintItemName(itemIndex), fileName), this.GetProviderLocator());
|
||||
}
|
||||
|
||||
public override LibraryProvider GetProviderForCollection(PrintItemCollection collection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue