grc: fix template for gain mode setter

Problem observed & reported by Michael Dickens with swig 3.0.0, local
swig 2.0.11 seems not to be affected.
This commit is contained in:
Dimitri Stolnikov 2014-04-16 20:27:25 +02:00
parent 23ea2fcfb4
commit bfbc97db8f
1 changed files with 4 additions and 4 deletions

View File

@ -281,16 +281,16 @@ PARAMS_TMPL = """
<param>
<name>Ch$(n): Gain Mode</name>
<key>gain_mode$(n)</key>
<value>0</value>
<type>int</type>
<value>False</value>
<type>bool</type>
<hide>\#if \$nchan() > $n then 'none' else 'all'#</hide>
<option>
<name>Manual</name>
<key>0</key>
<key>False</key>
</option>
<option>
<name>Automatic</name>
<key>1</key>
<key>True</key>
</option>
</param>
#end if