Pamhyr2: Fix pep8.

scenarios
Pierre-Antoine Rouby 2024-09-03 15:57:08 +02:00
parent 5cc5628956
commit 064b3efa13
2 changed files with 5 additions and 3 deletions

View File

@ -146,7 +146,9 @@ class NetworkWindow(PamhyrWindow):
self._graph_widget.changeNode.connect(self.update) self._graph_widget.changeNode.connect(self.update)
if self._study.is_editable: if self._study.is_editable:
self._nodes_model.dataChanged.connect(self._graph_widget.rename_nodes) self._nodes_model\
.dataChanged\
.connect(self._graph_widget.rename_nodes)
self.find(QAction, "action_toolBar_add").setCheckable(True) self.find(QAction, "action_toolBar_add").setCheckable(True)
self.find(QAction, "action_toolBar_add").triggered.connect( self.find(QAction, "action_toolBar_add").triggered.connect(