mirror of https://gitlab.com/pamhyr/pamhyr2
Network: Add missing () on method to check if study is editable
parent
445c1ac7ba
commit
0c7ede5f43
|
|
@ -147,7 +147,7 @@ class NetworkWindow(PamhyrWindow):
|
||||||
self._graph_widget.changeEdge.connect(self.update)
|
self._graph_widget.changeEdge.connect(self.update)
|
||||||
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\
|
self._nodes_model\
|
||||||
.dataChanged\
|
.dataChanged\
|
||||||
.connect(self._graph_widget.rename_nodes)
|
.connect(self._graph_widget.rename_nodes)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue