Allow the NAV/GPS slave to be toggled from the generic GPS dialog.
This commit is contained in:
parent
1a840e6399
commit
3b275abc32
1 changed files with 11 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue