diff --git a/src/main/java/fr/pasteur/ida/zellige/gui/controller/ConstructionController.java b/src/main/java/fr/pasteur/ida/zellige/gui/controller/ConstructionController.java index 1ce2e79724400c01ae0fcc749468f2299805266f..0098f261b373c15af3d997f9e15d40288ada30ff 100644 --- a/src/main/java/fr/pasteur/ida/zellige/gui/controller/ConstructionController.java +++ b/src/main/java/fr/pasteur/ida/zellige/gui/controller/ConstructionController.java @@ -113,7 +113,7 @@ public class ConstructionController< T extends RealType< T > & NativeType< T > > resetResultFromChangedParameterValue( getModel().c2Property(), getModel().secondRoundSurfacesProperty(), "Second round connexity" ); resetResultFromChangedParameterValue( getModel().r2Property(), getModel().secondRoundSurfacesProperty(), "Second round overlap" ); resetResultFromChangedParameterValue( getModel().st2Property(), getModel().secondRoundSurfacesProperty(), "Second round starting threshold" ); - resetResultFromChangedParameterValue( getModel().surfaceSizeProperty(), getModel().firstRoundSurfacesProperty(), "Surface minimum size" ); + resetResultFromChangedParameterValue( getModel().surfaceSizeProperty(), getModel().secondRoundSurfacesProperty(), "Surface minimum size" ); /* Results that depend on another result are set to null when the latter is null */ setNextOutputToNull( getModel().firstRoundSurfacesProperty(), getModel().secondRoundSurfacesProperty() );