Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
This commit is contained in:
parent
e33e7d89cd
commit
9389281ba8
3 changed files with 31 additions and 35 deletions
|
|
@ -2291,11 +2291,13 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
var writableContainer = libraryToSaveTo as ILibraryWritableContainer;
|
||||
if (writableContainer != null)
|
||||
{
|
||||
writableContainer.Add(new[] { new FileSystemFileItem(printItemWrapper.FileLocation) });
|
||||
|
||||
// HACK: This is a short term hack to get back into the game
|
||||
// Set active item
|
||||
//PrinterConnectionAndCommunication.Instance.ActivePrintItem = printItemWrapper;
|
||||
writableContainer.Add(new[]
|
||||
{
|
||||
new FileSystemFileItem(printItemWrapper.FileLocation)
|
||||
{
|
||||
Name = returnInfo.newName
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
libraryToSaveTo.Dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue