Took out the move to print leveling settings

Made touchscreen on desktop update the view correctly on printer change.
This commit is contained in:
Lars Brubaker 2016-06-08 11:46:46 -07:00
parent 5cc454ba77
commit 6a6fade3e1
4 changed files with 3 additions and 28 deletions

View file

@ -105,27 +105,6 @@ namespace MatterHackers.MatterControl
}
}
public static void GoToPrintLevelSettings()
{
Task.Run(() =>
{
AutomationRunner testRunner = new AutomationRunner(inputType: AutomationRunner.InputType.Simulated, drawSimulatedMouse: false);
testRunner.TimeToMoveMouse = 0;
testRunner.UpDelaySeconds = 0;
if (testRunner.NameExists("SettingsAndControls"))
{
testRunner.ClickByName("SettingsAndControls", 5);
testRunner.Wait(.2);
}
testRunner.ClickByName("Options Tab", .2);
HighlightWidget(testRunner, "AutoLevelRowItem");
testRunner.Dispose();
});
}
private static void HighlightWidget(AutomationRunner testRunner, string widgetNameToHighlight)
{
SystemWindow containingWindow;