mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 13:25:04 -05:00
Update validation tweak
prior commit reverted incorrect behavior fix, force something within the control to validate (not everything else)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user