Added a manual grid refresh after validation since this seems not to work automatically anymore
This commit is contained in:
parent
9d4f608383
commit
79ddbf1572
@ -1461,6 +1461,12 @@ namespace ENI2
|
||||
MessageBox.Show(Properties.Resources.textValidationOK, Properties.Resources.textValidation, MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
}
|
||||
}
|
||||
|
||||
if (controlCache.TryGetValue(Properties.Resources.textOverview, out DetailBaseControl overviewControl) &&
|
||||
overviewControl is OverViewDetailControl ovdc)
|
||||
{
|
||||
ovdc.RefreshMessageGrid();
|
||||
}
|
||||
}
|
||||
|
||||
private void ApplyCrewEffectsWarningSuppression()
|
||||
|
||||
@ -370,6 +370,11 @@ namespace ENI2.DetailViewControls
|
||||
this.Core.IsDirty = false; // ist ja schon gespeichert..
|
||||
}
|
||||
|
||||
internal void RefreshMessageGrid()
|
||||
{
|
||||
this.dataGridMessages?.Items?.Refresh();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region private methods
|
||||
|
||||
Loading…
Reference in New Issue
Block a user