Commit 3b2a41e0 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Mainwindow, stricklers: Minor change.

Showing with 6 additions and 8 deletions
+6 -8
...@@ -47,7 +47,7 @@ define_model_action = [ ...@@ -47,7 +47,7 @@ define_model_action = [
"action_toolBar_mesh", "action_toolBar_run_meshing_tool", "action_toolBar_mesh", "action_toolBar_run_meshing_tool",
"action_toolBar_boundary_cond", "action_toolBar_lateral_contrib", "action_toolBar_boundary_cond", "action_toolBar_lateral_contrib",
"action_toolBar_spills", "action_toolBar_sections", "action_toolBar_spills", "action_toolBar_sections",
"action_toolBar_frictions", "action_toolBar_building", "action_toolBar_stricklers", "action_toolBar_building",
] ]
action = ( action = (
...@@ -126,7 +126,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): ...@@ -126,7 +126,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
"action_toolBar_boundary_cond": self.open_boundary_cond, "action_toolBar_boundary_cond": self.open_boundary_cond,
"action_toolBar_lateral_contrib": self.open_lateral_contrib, "action_toolBar_lateral_contrib": self.open_lateral_contrib,
"action_toolBar_spills": lambda: self.open_dummy("Deversement"), "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"), "action_toolBar_building": lambda: self.open_dummy("Ouvrages"),
} }
......
...@@ -65,8 +65,6 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow): ...@@ -65,8 +65,6 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow):
else: else:
data = self._config.stricklers data = self._config.stricklers
print(data)
self._table[t] = TableModel( self._table[t] = TableModel(
data = data, data = data,
undo = self._undo_stack, undo = self._undo_stack,
......
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_sections"/> <addaction name="action_toolBar_sections"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_frictions"/> <addaction name="action_toolBar_stricklers"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_building"/> <addaction name="action_toolBar_building"/>
<addaction name="separator"/> <addaction name="separator"/>
...@@ -823,12 +823,12 @@ ...@@ -823,12 +823,12 @@
<string>Edit section frictions and lateral contributions</string> <string>Edit section frictions and lateral contributions</string>
</property> </property>
</action> </action>
<action name="action_toolBar_frictions"> <action name="action_toolBar_stricklers">
<property name="text"> <property name="text">
<string>Frictions</string> <string>Stricklers</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit friction at the bottom</string> <string>Edit the study stricklers</string>
</property> </property>
</action> </action>
<action name="action_toolBar_building"> <action name="action_toolBar_building">
......
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