Made it possible to start a gcode files from sync
This commit is contained in:
parent
04002560a5
commit
a6fc014a0c
2 changed files with 10 additions and 7 deletions
|
|
@ -484,7 +484,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
|
||||
private void onReprintButton_Click(object sender, EventArgs mouseEvent)
|
||||
{
|
||||
UiThread.RunOnIdle(PrinterConnectionAndCommunication.Instance.PrintActivePartIfPossible);
|
||||
UiThread.RunOnIdle(() => PrinterConnectionAndCommunication.Instance.PrintActivePartIfPossible());
|
||||
}
|
||||
|
||||
private void onSkipButton_Click(object sender, EventArgs mouseEvent)
|
||||
|
|
@ -497,7 +497,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
|
||||
private void onStartButton_Click(object sender, EventArgs mouseEvent)
|
||||
{
|
||||
UiThread.RunOnIdle(PrinterConnectionAndCommunication.Instance.PrintActivePartIfPossible);
|
||||
UiThread.RunOnIdle(() => PrinterConnectionAndCommunication.Instance.PrintActivePartIfPossible());
|
||||
}
|
||||
|
||||
private void onStateChanged(object sender, EventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue