Update validation tweak

prior commit reverted incorrect behavior fix, force something within the
control to validate (not everything else)
This commit is contained in:
Kurt
2017-08-17 16:43:54 -07:00
parent c8a99ce79a
commit 37c858b6ad

View File

@@ -1318,8 +1318,8 @@ private void UpdateOriginGame(object sender, EventArgs e)
width = 2 * width;
CB_MetLocation.DropDownWidth = width;
if (fieldsLoaded)
ValidateChildren(); // prevent value resetting when finishing load routine
if (!fieldsLoaded)
CB_GameOrigin.Focus(); // hacky validation forcing
}
// Visibility logic for Gen 4 encounter type; only show for Gen 4 Pokemon.