Save current facility on save action

unsaved combobox choices only are saved when the current index is
changed, need to save when the form is closed (saved).
This commit is contained in:
Kurt 2017-11-29 08:38:32 -08:00
parent acb105b706
commit fa78154df7

View File

@ -244,6 +244,7 @@ private void Save()
for (int i = 1; i < CLB_Reward.Items.Count; i++)
SAV.SetFestaPrizeReceived(i - 1, r[(int)CLB_Reward.GetItemCheckState(i)]);
SaveFacility();
foreach (FestaFacility facility in f)
facility.CopyTo(SAV);