Commit 5d9b6f99 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

HS: Fix case with no profile kp.

Showing with 2 additions and 0 deletions
+2 -0
...@@ -292,6 +292,8 @@ class HydraulicStructuresWindow(PamhyrWindow): ...@@ -292,6 +292,8 @@ class HydraulicStructuresWindow(PamhyrWindow):
self.plot_ac.set_profile(profile) self.plot_ac.set_profile(profile)
else: else:
self._update_clear_profile() self._update_clear_profile()
else:
self._update_clear_profile()
else: else:
self._update_clear_all() self._update_clear_all()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment