C2018-010: Fixed refreshing when applicability is removed on Version Properties dialog

This commit is contained in:
Kathy Ruffing 2018-06-13 14:49:47 +00:00
parent e258e7b3dc
commit 4104a983a0

View File

@ -1387,6 +1387,14 @@ namespace VEPROMS
_Apples.Remove(cfg); _Apples.Remove(cfg);
bsApples.DataSource = null; bsApples.DataSource = null;
bsApples.DataSource = _Apples; bsApples.DataSource = _Apples;
// C2018-010: When removing an applicability, info on right side still contains old content. Do refreshes and reset datasource to fix this.
this.lbApplicabilities.Refresh();
if (_Apples != null && _Apples.Count > 0)
{
lbApplicabilities.SelectedIndex = 0;
bsMiniApple.DataSource = bsApples.Current as MiniConfig;
btnDelApple.Enabled = true;
}
} }
} }