Show com port wizard on desktop when can't connect

Don't show com port wizard when setting up a printer
Moved onload code (first draw) to ApplicationController
getting android to have the same wizard logic as desktop
Refactored setup wizard
This commit is contained in:
Lars Brubaker 2016-07-21 13:49:22 -07:00
parent d2d315ff9f
commit e5c187c687
12 changed files with 89 additions and 75 deletions

View file

@ -60,7 +60,8 @@ namespace MatterHackers.MatterControl
public static void GoToPrinterSettings(string widgetNameToHighlight)
{
if (PrinterConnectionAndCommunication.Instance?.ActivePrinter?.ID != null
&& ActiveSliceSettings.Instance.PrinterSelected)
&& ActiveSliceSettings.Instance.PrinterSelected
&& !WizardWindow.IsOpen("PrinterSetup"))
{
UiThread.RunOnIdle(() =>
{