C2018-010: Fixed refreshing when applicability is removed on Version Properties dialog
This commit is contained in:
		@@ -1387,6 +1387,14 @@ namespace VEPROMS
 | 
			
		||||
				_Apples.Remove(cfg);
 | 
			
		||||
				bsApples.DataSource = null;
 | 
			
		||||
				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;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user