mirror of https://gitlab.com/pamhyr/pamhyr2
enable edit window
parent
4c5281ea30
commit
062743d748
|
|
@ -48,6 +48,8 @@ from View.HydraulicStructures.Table import (
|
|||
from View.Network.GraphWidget import GraphWidget
|
||||
from View.HydraulicStructures.Translate import HydraulicStructuresTranslate
|
||||
|
||||
from View.HydraulicStructures.BasicHydraulicStructures.Window import BasicHydraulicStructuresWindow
|
||||
|
||||
_translate = QCoreApplication.translate
|
||||
|
||||
logger = logging.getLogger()
|
||||
|
|
@ -160,7 +162,7 @@ class HydraulicStructuresWindow(PamhyrWindow):
|
|||
def setup_connections(self):
|
||||
self.find(QAction, "action_add").triggered.connect(self.add)
|
||||
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)
|
||||
|
||||
table = self.find(QTableView, "tableView")
|
||||
|
|
|
|||
Loading…
Reference in New Issue