Need to be able to save to the queue on save as
This commit is contained in:
parent
c0f1359213
commit
f3fd6428c9
2 changed files with 4 additions and 5 deletions
|
|
@ -46,7 +46,6 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
||||
{
|
||||
/*
|
||||
public class LibraryProviderQueueCreator : ILibraryCreator
|
||||
{
|
||||
public virtual LibraryProvider CreateLibraryProvider(LibraryProvider parentLibraryProvider, Action<LibraryProvider> setCurrentLibraryProvider)
|
||||
|
|
@ -61,7 +60,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
return LibraryProviderQueue.StaticProviderKey;
|
||||
}
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
public class LibraryProviderQueue : LibraryProvider
|
||||
{
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
libraryCreators.Clear();
|
||||
folderImagesForChildren.Clear();
|
||||
|
||||
/*
|
||||
if (includeQueueLibraryProvider)
|
||||
{
|
||||
// put in the queue provider
|
||||
|
|
@ -100,6 +99,7 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
AddFolderImage("queue_folder.png");
|
||||
}
|
||||
|
||||
/*
|
||||
if (false)
|
||||
{
|
||||
// put in the history provider
|
||||
|
|
@ -107,8 +107,8 @@ namespace MatterHackers.MatterControl.PrintLibrary.Provider
|
|||
AddFolderImage("queue_folder.png");
|
||||
} */
|
||||
|
||||
// put in the sqlite provider
|
||||
libraryCreators.Add(new LibraryProviderSQLiteCreator());
|
||||
// put in the sqlite provider
|
||||
libraryCreators.Add(new LibraryProviderSQLiteCreator());
|
||||
AddFolderImage("library_folder.png");
|
||||
|
||||
// Check for LibraryProvider factories and put them in the list too.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue