Made the window for the pass band filters integers (take firdes.WIN_XXX).
[debian/gnuradio] / grc / blocks / options.xml
index a28a0b1439eff5ef6bdf0c6eff1525c9dacda5d9..1798a69f88a834c9dccd6ad7e878198b2d147372 100644 (file)
@@ -9,8 +9,9 @@
 <block>
        <name>Options</name>
        <key>options</key>
-       <import>from gnuradio import gr
-#if $generate_options() == 'wx_gui'
+       <import>from gnuradio import gr</import>
+       <import>from gnuradio.gr import firdes</import>
+       <import>#if $generate_options() == 'wx_gui'
 from grc_gnuradio import wxgui as grc_wxgui
 import wx
 #end if
@@ -18,8 +19,7 @@ import wx
 from optparse import OptionParser
 from gnuradio.eng_option import eng_option
 from gnuradio import eng_notation
-#end if
-</import>
+#end if</import>
        <make></make>
        <callback>if $run: self.start()
 else: self.stop(); self.wait()</callback>