Getting switch extruder pre-gcode to run when needed

refactoring
This commit is contained in:
Lars Brubaker 2019-02-06 10:34:19 -08:00
parent 8eefd9c059
commit 572fdd847a
17 changed files with 74 additions and 51 deletions

View file

@ -114,7 +114,7 @@ namespace MatterHackers.MatterControl.ActionBar
};
disconnectButton.Click += (s, e) => UiThread.RunOnIdle(() =>
{
if (printer.Connection.PrinterIsPrinting)
if (printer.Connection.Printing)
{
StyledMessageBox.ShowMessageBox(
(bool disconnectCancel) =>