HS: Fix case with no profile kp.

setup.py
Pierre-Antoine Rouby 2023-12-11 15:20:46 +01:00
parent 163a842384
commit 5d9b6f99c6
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,8 @@ class HydraulicStructuresWindow(PamhyrWindow):
self.plot_ac.set_profile(profile)
else:
self._update_clear_profile()
else:
self._update_clear_profile()
else:
self._update_clear_all()