From 7b8b791cda58879025d655987bcd6ea6e797e0e9 Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Wed, 15 Jun 2016 21:04:58 -0700 Subject: grc-refactor: Block: make more public attribs --- grc/gui/Block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/gui/Block.py') 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) -- cgit v1.2.3