Async PrintItemWrapper
This commit is contained in:
parent
3a797d2544
commit
908b604328
10 changed files with 108 additions and 94 deletions
|
|
@ -81,6 +81,11 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
}
|
||||
}
|
||||
|
||||
public override string GetPrintItemName(int itemIndex)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public static string StaticProviderKey
|
||||
{
|
||||
get
|
||||
|
|
@ -301,7 +306,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
return childCollections[collectionIndex];
|
||||
}
|
||||
|
||||
public override PrintItemWrapper GetPrintItemWrapper(int index)
|
||||
public async override Task<PrintItemWrapper> GetPrintItemWrapperAsync(int index)
|
||||
{
|
||||
if (index >= 0 && index < printItems.Count)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue