Always set SelectedIndex
- Issue MatterHackers/MCCentral#3489 Deleted printer name remains in drop-down box
This commit is contained in:
parent
761c833668
commit
aa8d550426
1 changed files with 4 additions and 0 deletions
|
|
@ -127,6 +127,10 @@ namespace MatterHackers.MatterControl
|
|||
this.SelectedValue = lastProfileID;
|
||||
lastSelectedIndex = this.SelectedIndex;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SelectedIndex = -1;
|
||||
}
|
||||
}
|
||||
|
||||
private ImageBuffer GetOemIcon(string oemName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue