mirror of https://gitlab.com/pamhyr/pamhyr2
BHS: Fix where profile RK has changed.
parent
3adce567df
commit
149b150eda
|
|
@ -155,7 +155,8 @@ class BasicHydraulicStructuresWindow(PamhyrWindow):
|
|||
profiles = reach.reach.get_profiles_from_rk(float(profile_rk))
|
||||
else:
|
||||
profiles = None
|
||||
if profiles is not None:
|
||||
|
||||
if profiles is not None or len(profiles) != 0:
|
||||
profile = profiles[0]
|
||||
else:
|
||||
profile = None
|
||||
|
|
|
|||
Loading…
Reference in New Issue