HS: Fix case with no profile kp.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-12-11 15:20:46 +01:00
1 parent 163a842384
commit 5d9b6f99c6
1 file changed
+2
+2
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()