Merge pull request #44 from FullLifeGames/patch-1

Fixing a bug with the Country Sub Region selection
This commit is contained in:
Kaphotics
2015-03-05 00:15:52 -08:00

View File

@@ -1221,7 +1221,7 @@ public void setCountrySubRegion(object sender, string type)
CB.DataSource = Util.getCBList(type, cl);
if (index > 0 && index <= CB.Items.Count && init)
if (index > 0 && index < CB.Items.Count && init)
CB.SelectedIndex = index;
}
public void setForms(int species, ComboBox cb)
@@ -4702,4 +4702,4 @@ private void pbBoxSlot_DragEnter(object sender, DragEventArgs e)
private int pkm_from_slot = -1;
#endregion
}
}
}