Use new out syntax
This commit is contained in:
parent
416c0015b8
commit
be6f2fd455
1 changed files with 2 additions and 2 deletions
|
|
@ -219,8 +219,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public static Emulator LaunchAndConnectToPrinterEmulator(this AutomationRunner testRunner, string make = "Airwolf 3D", string model = "HD", bool runSlow = false)
|
||||
{
|
||||
SystemWindow systemWindow;
|
||||
testRunner.GetWidgetByName("Hardware Tab", out systemWindow, 10);
|
||||
var hardwareTab = testRunner.GetWidgetByName("Hardware Tab", out SystemWindow systemWindow, 10);
|
||||
|
||||
// make sure we wait for MC to be up and running
|
||||
testRunner.WaitforDraw(systemWindow);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue