Convert PrinterConnection usage from static to local references

This commit is contained in:
John Lewin 2017-09-17 13:30:05 -07:00
parent 0073500f8e
commit de922d8a2e
9 changed files with 43 additions and 37 deletions

View file

@ -580,7 +580,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
case SliceSettingData.DataEditTypes.COM_PORT:
useDefaultSavePattern = false;
uiField = new ComPortField();
uiField = new ComPortField(printer);
uiField.ValueChanged += (s, e) =>
{
if (e.UserInitiated)