Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs
===================================================================
diff -u -r802ea30d1fe8fbae93e58dff9ab054dbabca11ae -r298af52e9de68d5beed50a88ec11be5bce1fc783
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision 802ea30d1fe8fbae93e58dff9ab054dbabca11ae)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/WaveHeightLocationsView.cs (.../WaveHeightLocationsView.cs) (revision 298af52e9de68d5beed50a88ec11be5bce1fc783)
@@ -34,7 +34,7 @@
///
/// View for the with .
///
- public partial class WaveHeightLocationsView : HydraulicBoundaryLocationsView
+ public partial class WaveHeightLocationsView : HydraulicBoundaryLocationsView
{
private readonly Observer assessmentSectionObserver;
private readonly Observer hydraulicBoundaryDatabaseObserver;
@@ -97,15 +97,15 @@
}
}
- protected override WaveHeightLocationRow CreateNewRow(HydraulicBoundaryLocation location)
+ protected override HydraulicBoundaryLocationRow CreateNewRow(HydraulicBoundaryLocation location)
{
- return new WaveHeightLocationRow(location);
+ return new HydraulicBoundaryLocationRow(location, location.WaveHeightCalculation);
}
protected override void InitializeDataGridView()
{
base.InitializeDataGridView();
- dataGridViewControl.AddTextBoxColumn(nameof(WaveHeightLocationRow.WaveHeight),
+ dataGridViewControl.AddTextBoxColumn(nameof(HydraulicBoundaryLocationRow.Result),
Resources.HydraulicBoundaryDatabase_Location_WaveHeight_DisplayName);
}