commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/13: qtgui: Fixed bug that did not allow


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/13: qtgui: Fixed bug that did not allow multiple range objects in a single flow graph
Date: Fri, 3 Apr 2015 19:59:34 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 64a2f10f389a2cd726623899e45c6d673b0215a1
Author: Seth Hitefield <address@hidden>
Date:   Thu Apr 2 17:39:23 2015 -0700

    qtgui: Fixed bug that did not allow multiple range objects in a single flow 
graph
---
 gr-qtgui/grc/qtgui_range.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gr-qtgui/grc/qtgui_range.xml b/gr-qtgui/grc/qtgui_range.xml
index 6546dfc..d30faa1 100644
--- a/gr-qtgui/grc/qtgui_range.xml
+++ b/gr-qtgui/grc/qtgui_range.xml
@@ -11,11 +11,12 @@
        <import>from gnuradio.qtgui import Range, RangeWidget</import>
        <var_make>self.$(id) = $(id) = $value</var_make>
        <make>#set $win = 'self._%s_win'%$id
+               #set $range = 'self._range_%s'%id
 #if not $label()
        #set $label = '"%s"'%$id
 #end if
-range = Range($start, $stop, $step, $value, $min_len)
-$(win) = RangeWidget(range, self.set_$(id), $label, "$widget")
+$(range) = Range($start, $stop, $step, $value, $min_len)
+$(win) = RangeWidget($(range), self.set_$(id), $label, "$widget")
 $(gui_hint()($win))</make>
        <callback>self.set_$(id)($value)</callback>
        <param>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]