Commit 062743d7 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

enable edit window

Showing with 3 additions and 1 deletion
+3 -1
...@@ -48,6 +48,8 @@ from View.HydraulicStructures.Table import ( ...@@ -48,6 +48,8 @@ from View.HydraulicStructures.Table import (
from View.Network.GraphWidget import GraphWidget from View.Network.GraphWidget import GraphWidget
from View.HydraulicStructures.Translate import HydraulicStructuresTranslate from View.HydraulicStructures.Translate import HydraulicStructuresTranslate
from View.HydraulicStructures.BasicHydraulicStructures.Window import BasicHydraulicStructuresWindow
_translate = QCoreApplication.translate _translate = QCoreApplication.translate
logger = logging.getLogger() logger = logging.getLogger()
...@@ -160,7 +162,7 @@ class HydraulicStructuresWindow(PamhyrWindow): ...@@ -160,7 +162,7 @@ class HydraulicStructuresWindow(PamhyrWindow):
def setup_connections(self): def setup_connections(self):
self.find(QAction, "action_add").triggered.connect(self.add) self.find(QAction, "action_add").triggered.connect(self.add)
self.find(QAction, "action_delete").triggered.connect(self.delete) self.find(QAction, "action_delete").triggered.connect(self.delete)
#self.find(QAction, "action_edit").triggered.connect(self.edit) self.find(QAction, "action_edit").triggered.connect(self.edit)
self._checkbox.stateChanged.connect(self._set_structure_state) self._checkbox.stateChanged.connect(self._set_structure_state)
table = self.find(QTableView, "tableView") table = self.find(QTableView, "tableView")
......
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