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
|
|
@ -176,7 +176,8 @@ namespace MatterHackers.MatterControl.Library
|
|||
{
|
||||
using (var stream = File.OpenRead(filePath))
|
||||
{
|
||||
AddItem(stream, Path.GetExtension(filePath).ToUpper(), PrintItemWrapperExtensionMethods.GetFriendlyName(Path.GetFileNameWithoutExtension(filePath)));
|
||||
string itemName = item.Name ?? Path.GetFileNameWithoutExtension(filePath);
|
||||
AddItem(stream, Path.GetExtension(filePath).ToUpper(), PrintItemWrapperExtensionMethods.GetFriendlyName(itemName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue