summaryrefslogtreecommitdiff
path: root/grc/gui/FlowGraph.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-06-03 16:37:05 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-06-09 14:49:16 +0200
commit6375ebf0eb2b619e1a31ec8b8babc3ad0f968dd2 (patch)
tree489414ef1f7097e47f483661ffada43ec3bb1506 /grc/gui/FlowGraph.py
parent963773b800655f2902998aedce8d46605d54e60f (diff)
grc-refactor: Connections
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r--grc/gui/FlowGraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index 8f35222d42..37a233f825 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -184,7 +184,7 @@ class FlowGraph(Element, _Flowgraph):
y_min = min(y, y_min)
#get connections between selected blocks
connections = list(filter(
- lambda c: c.get_source().get_parent() in blocks and c.get_sink().get_parent() in blocks,
+ lambda c: c.source_block in blocks and c.sink_block in blocks,
self.connections,
))
clipboard = (