Add OpenEmptyPrinter method for common open use case
This commit is contained in:
parent
f82ae3580f
commit
527c57fb10
6 changed files with 42 additions and 14 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue