Rename method to match latest behavior

This commit is contained in:
John Lewin 2018-12-10 13:38:22 -08:00
parent aae2ffdf76
commit e48a5f04ed
7 changed files with 9 additions and 15 deletions

View file

@ -112,7 +112,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
else
{
// Open new printer tab
ApplicationController.Instance.OpenPrinter(printerInfo.ID).ConfigureAwait(false);
ApplicationController.Instance.LoadPrinter(printerInfo.ID).ConfigureAwait(false);
}
}
}
@ -134,7 +134,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
if (treeView?.SelectedNode.Tag is PrinterInfo printerInfo)
{
// Open printer
ApplicationController.Instance.OpenPrinter(printerInfo.ID).ConfigureAwait(false);
ApplicationController.Instance.LoadPrinter(printerInfo.ID).ConfigureAwait(false);
}
};

View file

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