improving item button logic

fix spelling
This commit is contained in:
Lars Brubaker 2021-02-05 17:52:19 -08:00
parent 90934aa04f
commit 2026bb220c
9 changed files with 18 additions and 11 deletions

View file

@ -116,6 +116,7 @@ namespace MatterHackers.MatterControl
ApplicationVersion = VersionInfo.Instance.ReleaseVersion
};
#if !DEBUG
if (AggContext.OperatingSystem == OSType.Windows)
{
waitHandle = new EventWaitHandle(false, EventResetMode.ManualReset, "MatterControl#Startup", out bool created);
@ -147,6 +148,7 @@ namespace MatterHackers.MatterControl
"Service started: {0};",
string.Join(", ", serviceHost.Description.Endpoints.Select(s => s.ListenUri.AbsoluteUri).ToArray()));
}
#endif
// If MatterControl isn't running and valid files were shelled, schedule a StartupAction to open the files after load
var shellFiles = args.Where(f => File.Exists(f) && shellFileExtensions.Contains(Path.GetExtension(f).ToLower()));