Rename instance method to Connect
This commit is contained in:
parent
9a5c885202
commit
9721f93266
8 changed files with 9 additions and 9 deletions
|
|
@ -80,7 +80,7 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
|
|||
printerComPortError.TextColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
|
||||
ActiveSliceSettings.Instance.Helpers.SetComPort(GetSelectedSerialPort());
|
||||
printer.Connection.ConnectToActivePrinter();
|
||||
printer.Connection.Connect();
|
||||
|
||||
connectButton.Visible = false;
|
||||
refreshButton.Visible = false;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
|
|||
printerErrorMessage.Text = "Attempting to connect".Localize() + "...";
|
||||
|
||||
ActiveSliceSettings.Instance.Helpers.SetComPort(candidatePort);
|
||||
printer.Connection.ConnectToActivePrinter();
|
||||
printer.Connection.Connect();
|
||||
connectButton.Visible = false;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue