From 9d7da8d7ea3db2f1d2e271b199e0be69ba9dd78d Mon Sep 17 00:00:00 2001
From: ctrebeau <ctrebeau@pasteur.fr>
Date: Tue, 1 Apr 2025 18:48:31 +0200
Subject: [PATCH] bug fix: wrong variable

---
 .../ida/zellige/gui/controller/ConstructionController.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 1ce2e79..0098f26 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() );
-- 
GitLab