summaryrefslogtreecommitdiff
path: root/grc/src/platforms/gui/FlowGraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/src/platforms/gui/FlowGraph.py')
-rw-r--r--grc/src/platforms/gui/FlowGraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/src/platforms/gui/FlowGraph.py b/grc/src/platforms/gui/FlowGraph.py
index 60bb57528..2de4482ab 100644
--- a/grc/src/platforms/gui/FlowGraph.py
+++ b/grc/src/platforms/gui/FlowGraph.py
@@ -213,7 +213,7 @@ class FlowGraph(Element):
"""
changed = False
for selected_block in self.get_selected_blocks():
- for ports in selected_block.get_ports():
+ for ports in (selected_block.get_sinks(), selected_block.get_sources()):
if ports and hasattr(ports[0], 'get_nports') and ports[0].get_nports():
#find the param that controls port0
for param in selected_block.get_params():