mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Fix HS KP is missing at display update.
This commit is contained in:
1 parent
14a2abaebd
commit
3dfdc308e3
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user