public MedalDataEditor()
{
InitializeComponent();
// Make sure the bf2s config is present
if (!StatsPython.Installed)
{
this.Load += (s, e) => this.Close();
MessageBox.Show("Stats need to be enabled before using the medal data editor.", "Error");
return;
}
// Set active profile and load the rest
ActiveProfile = StatsPython.Config.MedalDataProfile;
ChangesMade = false;
LoadProfiles();
}