diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index c1bc091d..5761149b 100644 --- a/src/View/MainWindow.py +++ b/src/View/MainWindow.py @@ -47,7 +47,7 @@ define_model_action = [ "action_toolBar_mesh", "action_toolBar_run_meshing_tool", "action_toolBar_boundary_cond", "action_toolBar_lateral_contrib", "action_toolBar_spills", "action_toolBar_sections", - "action_toolBar_frictions", "action_toolBar_building", + "action_toolBar_stricklers", "action_toolBar_building", ] action = ( @@ -126,7 +126,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): "action_toolBar_boundary_cond": self.open_boundary_cond, "action_toolBar_lateral_contrib": self.open_lateral_contrib, "action_toolBar_spills": lambda: self.open_dummy("Deversement"), - "action_toolBar_frictions": self.open_stricklers, + "action_toolBar_stricklers": self.open_stricklers, "action_toolBar_building": lambda: self.open_dummy("Ouvrages"), } diff --git a/src/View/Stricklers/Window.py b/src/View/Stricklers/Window.py index d5f325ca..bae6ccad 100644 --- a/src/View/Stricklers/Window.py +++ b/src/View/Stricklers/Window.py @@ -65,8 +65,6 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow): else: data = self._config.stricklers - print(data) - self._table[t] = TableModel( data = data, undo = self._undo_stack, diff --git a/src/View/ui/MainWindow.ui b/src/View/ui/MainWindow.ui index d5a2b900..0c77e22f 100644 --- a/src/View/ui/MainWindow.ui +++ b/src/View/ui/MainWindow.ui @@ -298,7 +298,7 @@ - + @@ -823,12 +823,12 @@ Edit section frictions and lateral contributions - + - Frictions + Stricklers - Edit friction at the bottom + Edit the study stricklers