diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-03 16:37:05 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-09 14:49:16 +0200 |
commit | 6375ebf0eb2b619e1a31ec8b8babc3ad0f968dd2 (patch) | |
tree | 489414ef1f7097e47f483661ffada43ec3bb1506 /grc/gui/FlowGraph.py | |
parent | 963773b800655f2902998aedce8d46605d54e60f (diff) |
grc-refactor: Connections
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 2 |
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 = ( |