diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index c1bc091dbcf33bb3f77687fea88b3542fcd9ef1f..5761149b8d3cf9cc91183b2622f0147b567b1560 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 d5f325ca7187a00a3fda091a76e2bfcc4aa5835e..bae6ccad9f150883fb6475376300eb4c0109d179 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 d5a2b90054be98951693aa35d0388db0a6f2446f..0c77e22fd84be8474fd2636cb745b5e484405a1d 100644 --- a/src/View/ui/MainWindow.ui +++ b/src/View/ui/MainWindow.ui @@ -298,7 +298,7 @@ <addaction name="separator"/> <addaction name="action_toolBar_sections"/> <addaction name="separator"/> - <addaction name="action_toolBar_frictions"/> + <addaction name="action_toolBar_stricklers"/> <addaction name="separator"/> <addaction name="action_toolBar_building"/> <addaction name="separator"/> @@ -823,12 +823,12 @@ <string>Edit section frictions and lateral contributions</string> </property> </action> - <action name="action_toolBar_frictions"> + <action name="action_toolBar_stricklers"> <property name="text"> - <string>Frictions</string> + <string>Stricklers</string> </property> <property name="toolTip"> - <string>Edit friction at the bottom</string> + <string>Edit the study stricklers</string> </property> </action> <action name="action_toolBar_building">