diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp
index 2dc8713efb4754b04a31fe7cdb48085c7a8e9656..af458249811fe02ee2037585a03ac6f06ab63f92 100644
--- a/Fltk/onelabWindow.cpp
+++ b/Fltk/onelabWindow.cpp
@@ -360,6 +360,7 @@ static bool shouldRecompute()
             Msg::Info("Recomputing with new choice %s=%g", 
                       numbers[i].getName().c_str(), numbers[i].getValue());
             recompute = true;
+            break;
           }
         }
       }