HS: Fix HS KP is missing at display update.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-01-24 15:12:39 +01:00
1 parent 14a2abaebd
commit 3dfdc308e3
1 file changed
+1 -1
+1 -1
View File
@@ -292,7 +292,7 @@ class HydraulicStructuresWindow(PamhyrWindow):
float(profile_kp)
)
if profiles is not None:
if len(profiles) != 0 and profiles is not None:
profile = profiles[0]
self.plot_kpc.set_profile(profile)