Add OpenEmptyPrinter method for common open use case

This commit is contained in:
John Lewin 2018-12-10 14:14:56 -08:00
parent f82ae3580f
commit 527c57fb10
6 changed files with 42 additions and 14 deletions

View file

@ -72,7 +72,7 @@ namespace MatterHackers.MatterControl.Library.Widgets.HardwarePage
};
openButton.Click += (s, e) =>
{
ApplicationController.Instance.LoadPrinter(printerInfo.ID).ConfigureAwait(false);
ApplicationController.Instance.OpenEmptyPrinter(printerInfo.ID).ConfigureAwait(false);
};
headingRow.AddChild(openButton);