mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Fix template IVs getting overwritten on startup
Closes #2296 setting datasource triggers a changed event, which updates IVs set flag to indicate this isn't the user doing this change
This commit is contained in:
parent
316430985a
commit
b5b4b67263
1 changed files with 2 additions and 0 deletions
|
@ -523,8 +523,10 @@ namespace PKHeX.WinForms.Controls
|
|||
|
||||
public void InitializeDataSources()
|
||||
{
|
||||
ChangingFields = true;
|
||||
CB_HPType.InitializeBinding();
|
||||
CB_HPType.DataSource = Util.GetCBList(GameInfo.Strings.types.Skip(1).Take(16).ToArray());
|
||||
ChangingFields = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue