Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
SDClowen committed May 28, 2022
1 parent 6b8d556 commit 0bce7e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SDUI/Controls/ComboBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class ComboBox : System.Windows.Forms.ComboBox
{
protected override void OnDrawItem(DrawItemEventArgs e)
{
base.OnDrawItem(e);

var index = e.Index;
if (index < 0 || index >= Items.Count)
return;
Expand Down

0 comments on commit 0bce7e2

Please sign in to comment.