summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-06-15 21:04:58 -0700
committerSebastian Koslowski <koslowski@kit.edu>2016-07-13 16:33:29 +0200
commit7b8b791cda58879025d655987bcd6ea6e797e0e9 (patch)
tree3321b0cc2c88b8ab7a53213127892616a6c8fc1f /grc/gui/Block.py
parent03c3d3f030b9dc20a005a00668ca6aa69cb75de0 (diff)
grc-refactor: Block: make more public attribs
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r--grc/gui/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index 0d9bd3e09b..f3a7a35af8 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -137,7 +137,7 @@ class Block(Element, _Block):
font=PARAM_FONT, key=self.key
)]
else:
- markups = [param.format_block_surface_markup() for param in self.get_params() if param.get_hide() not in ('all', 'part')]
+ markups = [param.format_block_surface_markup() for param in self.params if param.get_hide() not in ('all', 'part')]
if markups:
layout = Gtk.DrawingArea().create_pango_layout('')
layout.set_spacing(LABEL_SEPARATION*Pango.SCALE)