Commit 3dfdc308 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

HS: Fix HS KP is missing at display update.

Showing with 1 addition and 1 deletion
+1 -1
...@@ -292,7 +292,7 @@ class HydraulicStructuresWindow(PamhyrWindow): ...@@ -292,7 +292,7 @@ class HydraulicStructuresWindow(PamhyrWindow):
float(profile_kp) float(profile_kp)
) )
if profiles is not None: if len(profiles) != 0 and profiles is not None:
profile = profiles[0] profile = profiles[0]
self.plot_kpc.set_profile(profile) self.plot_kpc.set_profile(profile)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment