From 37c858b6adbca25ac485ae0610f8a4bc5acce6d1 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 17 Aug 2017 16:43:54 -0700 Subject: [PATCH] Update validation tweak prior commit reverted incorrect behavior fix, force something within the control to validate (not everything else) --- PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs index 647dea0c2..5b4b839b3 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs @@ -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.