diff --git a/src/app/formulaire/definition/form-solveur.ts b/src/app/formulaire/definition/form-solveur.ts
index 0a3d446efac3a99a2fa2165f3b0916462fcfeb5a..0e3e8db93dfc1190017ea3bef7dd7246f89d6dcd 100644
--- a/src/app/formulaire/definition/form-solveur.ts
+++ b/src/app/formulaire/definition/form-solveur.ts
@@ -47,11 +47,10 @@ export class FormulaireSolveur extends FormulaireFixedVar {
             }
         }
         // copied from FormFixedVar, to avoid calling super.update()
-        if (data.action === "propertyChange") {
+        else if (data.action === "propertyChange") {
             this.reset();
         }
-
-        if (sender instanceof SelectField) {
+        else if (sender instanceof SelectField) {
             if (sender.id === "select_target_nub" && data.action === "select") {
                 // update Solveur property: Nub to calculate
                 try {
@@ -81,9 +80,7 @@ export class FormulaireSolveur extends FormulaireFixedVar {
                 // reflect changes in GUI
                 const inputXinit = this.getFormulaireNodeById("Xinit") as NgParameter;
                 inputXinit.notifyValueModified(this);
-            }
-        } else if (sender instanceof SelectField) {
-            if (sender.id === this._targettedResultSelectId) {
+            } else if (sender.id === this._targettedResultSelectId) {
                 // refresh parameters selector
                 this.refreshParameterEntries();
             }