Making it possible to recover more than one printer on fail.

This commit is contained in:
Lars Brubaker 2020-06-24 17:54:16 -07:00
parent 1ae4c6c1f0
commit 0983424a41
3 changed files with 36 additions and 19 deletions

View file

@ -88,12 +88,13 @@ namespace MatterHackers.MatterControl.PrintHistory
lastPrint.Commit();
}
},
"It appears your last print failed to complete.\n\nWould your like to attempt to recover from the last know position?".Localize()
"It appears your last print failed to complete.\n\nWould your like to attempt to recover from the last know position?".Localize()
+ (safeHomingDirection ? "" : "\n\n" + printRecoveryWarningMessage),
"Recover Last Print".Localize(),
"Recover Last Print".Localize() + " - " + printer.Settings.GetValue(SettingsKey.printer_name),
StyledMessageBox.MessageType.YES_NO,
"Recover Print".Localize(),
"Cancel".Localize());
"Cancel".Localize(),
instanceIndex: lastPrint.Id);
}
}
}