diff --git a/src/View/HydraulicStructures/Window.py b/src/View/HydraulicStructures/Window.py
index 2b0d1f8d911c3bbf493024a0fe69f43482cc1a2a..292133f9ae208c5174713d5a4b653f237479a54b 100644
--- a/src/View/HydraulicStructures/Window.py
+++ b/src/View/HydraulicStructures/Window.py
@@ -165,13 +165,9 @@ class HydraulicStructuresWindow(PamhyrWindow):
 
         table = self.find(QTableView, "tableView")
         table.selectionModel()\
-                 .selectionChanged\
-                 .connect(self._set_checkbox_state)
-        table.selectionModel()\
-                 .selectionChanged\
-                 .connect(self.update)
-        #self._delegate_kp.currentItemChanged.connect(lambda:x, print("toto"))
-        #self._delegate_reach.currentItemChanged.connect(lambda:x, print("titi"))
+             .selectionChanged\
+             .connect(self.update)
+
         self._table.dataChanged.connect(self.update)
         self._table.layoutChanged.connect(self.update)
 
@@ -266,6 +262,8 @@ class HydraulicStructuresWindow(PamhyrWindow):
             self._hs_lst.get(row).enabled = self._checkbox.isChecked()
 
     def update(self):
+        self._set_checkbox_state()
+
         rows = self.index_selected_rows()
 
         if len(rows) > 0 and len(self._hs_lst) > 0: