Always set SelectedIndex

- Issue MatterHackers/MCCentral#3489
Deleted printer name remains in drop-down box
This commit is contained in:
John Lewin 2018-06-05 18:18:47 -07:00
parent 761c833668
commit aa8d550426

View file

@ -127,6 +127,10 @@ namespace MatterHackers.MatterControl
this.SelectedValue = lastProfileID;
lastSelectedIndex = this.SelectedIndex;
}
else
{
this.SelectedIndex = -1;
}
}
private ImageBuffer GetOemIcon(string oemName)