From c530c5a428ee750e0fadd489c84d7724f7a64bc0 Mon Sep 17 00:00:00 2001
From: Mathias Chouet <mathias.chouet@irstea.fr>
Date: Tue, 17 Mar 2020 17:46:30 +0100
Subject: [PATCH] PAR : simulation

---
 src/app/formulaire/definition/form-fixedvar.ts | 1 +
 src/locale/messages.en.json                    | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/formulaire/definition/form-fixedvar.ts b/src/app/formulaire/definition/form-fixedvar.ts
index 20314b520..9d81bb96c 100644
--- a/src/app/formulaire/definition/form-fixedvar.ts
+++ b/src/app/formulaire/definition/form-fixedvar.ts
@@ -91,6 +91,7 @@ export class FormulaireFixedVar extends FormulaireDefinition {
         this.runNubCalc(this.currentNub);
         this.refreshFieldsets(); // important: before reaffectResultComponents() or it will break results components localization
         this.reaffectResultComponents();
+        this.refreshFieldsets();
     }
 
     protected reaffectResultComponents() {
diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json
index a99a7e8b7..262ab29b8 100644
--- a/src/locale/messages.en.json
+++ b/src/locale/messages.en.json
@@ -392,11 +392,11 @@
     "INFO_PABPUISSANCE_TITRE_COURT": "FL: diss. power",
     "INFO_PABPUISSANCE_TITRE": "Fish ladder: dissipated power",
     "INFO_PARALLELSTRUCTURE_TITRE_COURT": "// structures",
+    "INFO_PARSIMULATION_TITRE": "Humpback fishway: simulation",
+    "INFO_PARSIMULATION_TITRE_COURT": "HF: simulation",
     "INFO_PARALLELSTRUCTURE_TITRE": "Parallel structures",
     "INFO_PAR_TITRE": "Humpback fishway: setup",
     "INFO_PAR_TITRE_COURT": "HF: setup",
-    "INFO_PARSIMULATION_TITRE": "Humpback fishway: simulation",
-    "INFO_PARSIMULATION_TITRE_COURT": "HF: simulation",
     "INFO_PARAMFIELD_AWAITING_CALCULATION": "Awaiting calculation",
     "INFO_PARAMFIELD_BOUNDARY_CONDITIONS": "Boundary conditions",
     "INFO_PARAMFIELD_CALCULATED": "Calculated",
-- 
GitLab