diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-15 21:04:58 -0700 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-13 16:33:29 +0200 |
commit | 7b8b791cda58879025d655987bcd6ea6e797e0e9 (patch) | |
tree | 3321b0cc2c88b8ab7a53213127892616a6c8fc1f /grc/gui/ActionHandler.py | |
parent | 03c3d3f030b9dc20a005a00668ca6aa69cb75de0 (diff) |
grc-refactor: Block: make more public attribs
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r-- | grc/gui/ActionHandler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py index b135efdce9..fdda105208 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/ActionHandler.py @@ -219,7 +219,7 @@ class ActionHandler: for block in flow_graph.get_selected_blocks(): # Check for string variables within the blocks - for param in block.get_params(): + for param in block.params: for variable in flow_graph.get_variables(): # If a block parameter exists that is a variable, create a parameter for it if param.get_value() == variable.get_id(): @@ -289,7 +289,7 @@ class ActionHandler: # setup the references to the sink and source pad_block = flow_graph.get_block(pad_id) - pad_sink = pad_block.get_sinks()[0] + pad_sink = pad_block.sinks[0] source_block = flow_graph.get_block(pad['block_id']) source = source_block.get_source(pad['key']) @@ -310,7 +310,7 @@ class ActionHandler: # setup the references to the sink and source pad_block = flow_graph.get_block(pad_id) - pad_source = pad_block.get_sources()[0] + pad_source = pad_block.sources[0] sink_block = flow_graph.get_block(pad['block_id']) sink = sink_block.get_sink(pad['key']) |