mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
Network: Add missing () on method to check if study is editable
This commit is contained in:
1 parent
445c1ac7ba
commit
0c7ede5f43
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user