summaryrefslogtreecommitdiff
path: root/grc/data
diff options
context:
space:
mode:
Diffstat (limited to 'grc/data')
-rw-r--r--grc/data/platforms/python/blocks/variable_sink.xml2
-rw-r--r--grc/data/platforms/python/blocks/wxgui_numbersink2.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/grc/data/platforms/python/blocks/variable_sink.xml b/grc/data/platforms/python/blocks/variable_sink.xml
index 13737b2cf..a4adb5c00 100644
--- a/grc/data/platforms/python/blocks/variable_sink.xml
+++ b/grc/data/platforms/python/blocks/variable_sink.xml
@@ -9,7 +9,7 @@
<key>variable_sink</key>
<import>from grc_gnuradio import blks2 as grc_blks2</import>
<make>grc_blks2.queue_sink_$(type.fcn)($vlen)
-grc_blks2.queue_sink_thread(self.$id, set_$(variable))</make>
+grc_blks2.queue_sink_thread(self.$id, self.set_$(variable))</make>
<param>
<name>Type</name>
<key>type</key>
diff --git a/grc/data/platforms/python/blocks/wxgui_numbersink2.xml b/grc/data/platforms/python/blocks/wxgui_numbersink2.xml
index c3a8c52bd..d5fc064e7 100644
--- a/grc/data/platforms/python/blocks/wxgui_numbersink2.xml
+++ b/grc/data/platforms/python/blocks/wxgui_numbersink2.xml
@@ -27,8 +27,8 @@
#end if
label=$title,
peak_hold=$options.peak_hold,
+ show_gauge=$show_gauge,
)
-self.$(id).set_show_gauge($show_gauge)
#set $grid_pos = $grid_pos.eval
#if not grid_pos
self.Add(self.$(id).win)