Make sure we always show the printing window
This commit is contained in:
parent
5896d1f345
commit
7d1e4969ad
3 changed files with 52 additions and 46 deletions
|
|
@ -1438,6 +1438,18 @@ namespace MatterHackers.MatterControl
|
|||
this.ArchiveAndStartPrint(partFilePath, gcodeFilePath);
|
||||
}
|
||||
|
||||
await MonitorPrintTask(printer);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public async Task MonitorPrintTask(PrinterConfig printer)
|
||||
{
|
||||
await ApplicationController.Instance.Tasks.Execute("Printing".Localize(),
|
||||
(reporterB, cancellationTokenB) =>
|
||||
{
|
||||
|
|
@ -1484,13 +1496,6 @@ namespace MatterHackers.MatterControl
|
|||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Archives MCX and validates GCode results before starting a print operation
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ namespace MatterHackers.MatterControl.PrintHistory
|
|||
{
|
||||
printer.Connection.CommunicationState = CommunicationStates.PreparingToPrint;
|
||||
printer.Connection.StartPrint(lastPrint.PrintingGCodeFileName, lastPrint);
|
||||
ApplicationController.Instance.MonitorPrintTask(printer).ConfigureAwait(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 33d1a1d9db6343cac3426de85623564bdd1291b5
|
||||
Subproject commit 986830bd983ae97d4e1f880a2d4eb18357347165
|
||||
Loading…
Add table
Add a link
Reference in a new issue