register to listen for .mcx files

This commit is contained in:
Lars Brubaker 2022-02-07 13:51:49 -08:00
parent 3fecbc4a27
commit c3c9c51972
2 changed files with 3 additions and 3 deletions

View file

@ -318,7 +318,7 @@ namespace MatterHackers.MatterControl
rootSystemWindow.ShowAsSystemWindow();
}
private static string[] shellFileExtensions = new string[] { ".stl", ".amf", ".3mf", ".obj" };
private static string[] shellFileExtensions = new string[] { ".stl", ".amf", ".3mf", ".obj", ".stl" };
private static readonly object locker = new object();

View file

@ -117,7 +117,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.NavigateToFolder("Print Queue Row Item Collection");
// Select both items
testRunner.SelectListItems("Row Item 2013-01-25_Mouthpiece_v2");
testRunner.SelectListItems("Row Item 2013-01-25_Mouthpiece_v2.stl");
// Remove item
testRunner.LibraryRemoveSelectedItem();
@ -126,7 +126,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
Assert.AreEqual(expectedCount, QueueData.Instance.ItemCount, "Queue count should decrease by one after clicking Remove");
// Make sure selected item was removed
Assert.IsFalse(testRunner.WaitForName("Row Item 2013-01-25_Mouthpiece_v2", .5), "Mouthpiece part should *not* exist after remove");
Assert.IsFalse(testRunner.WaitForName("Row Item 2013-01-25_Mouthpiece_v2.stl", .5), "Mouthpiece part should *not* exist after remove");
return Task.CompletedTask;
}, queueItemFolderToAdd: QueueTemplate.Three_Queue_Items);