mirror of https://gitlab.com/pamhyr/pamhyr2
HS: Fix HS KP is missing at display update.
parent
14a2abaebd
commit
3dfdc308e3
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue