From 6375ebf0eb2b619e1a31ec8b8babc3ad0f968dd2 Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Fri, 3 Jun 2016 16:37:05 +0200 Subject: grc-refactor: Connections --- grc/gui/FlowGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/gui/FlowGraph.py') 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 = ( -- cgit v1.2.3