summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
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 f8687be42f..5e5c5c402c 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -180,7 +180,7 @@ class Block(Element, _Block):
font=PARAM_FONT, key=self._key
)]
else:
- markups = [param.get_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.get_params() if param.get_hide() not in ('all', 'part')]
if markups:
layout = Gtk.DrawingArea().create_pango_layout('')
layout.set_spacing(LABEL_SEPARATION*Pango.SCALE)