1
0
Fork 0

Allow the NAV/GPS slave to be toggled from the generic GPS dialog.

This commit is contained in:
jmt 2009-10-08 22:07:09 +00:00
parent 1a840e6399
commit 3b275abc32

View file

@ -21,6 +21,8 @@
searchType.setValue(dlg.getNode("search-type").getValue()); searchType.setValue(dlg.getNode("search-type").getValue());
searchQuery.setValue(dlg.getNode("search-query").getValue()); searchQuery.setValue(dlg.getNode("search-query").getValue());
} }
var slaved = props.globals.getNode("/instrumentation/nav[0]/slaved-to-gps", 1);
</open> </open>
</nasal> </nasal>
@ -578,6 +580,15 @@
</binding> </binding>
</button> </button>
<checkbox>
<halign>left</halign>
<label>NAV Slave</label>
<property>/instrumentation/nav[0]/slaved-to-gps</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<empty><stretch>true</stretch></empty> <empty><stretch>true</stretch></empty>
<button> <button>