Index: src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs =================================================================== diff -u -r604 -r607 --- src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs (.../DSoilModelPlugin.cs) (revision 604) +++ src/Deltares.DSoilModel.Forms/DSoilModelPlugin.cs (.../DSoilModelPlugin.cs) (revision 607) @@ -919,11 +919,10 @@ // override SoilLayerControl which is registered in geotechnics plugin, replace with local SOSSoilLayerControl control mainForm.DynamicPropertyControl.ClearRegistrationsForType(typeof(SoilLayer1D)); - mainForm.DynamicPropertyControl.BuildDelayedPropertyControlForTypes(() => new SosSoilLayer1DControl(), typeof(SosSoilLayer1D), typeof(SoilLayer1D)); - //#Bka: typeof(SoilLayer1D) should NOT be needed but without it it can now never find the proper control - // override SoilProfile1DControl which is registered in geotechnics plugin, replace with local SOSSoilProfile1DControl control mainForm.DynamicPropertyControl.ClearRegistrationsForType(typeof(SoilProfile1D)); + + mainForm.DynamicPropertyControl.BuildDelayedPropertyControlForTypes(() => new SosSoilLayer1DControl(), typeof(SosSoilLayer1D)); mainForm.DynamicPropertyControl.BuildDelayedPropertyControlForTypes(() => new SosSoilProfile1DControl(), typeof(SoilProfile1D), typeof(SosSoilLayer1D)); mainForm.DynamicPropertyControl.BuildDelayedPropertyControlForTypes(() => new SoilProfile1DLookup2DControl(), typeof(SoilProfile1DLookup2D)); mainForm.DynamicPropertyControl.BuildDelayedPropertyControlForTypes(() => new SoilProfile2DControl(), typeof(SoilProfile2D));