diff --git a/gui/dialogs/gps.xml b/gui/dialogs/gps.xml index 27d227f7c..ecfca5c14 100644 --- a/gui/dialogs/gps.xml +++ b/gui/dialogs/gps.xml @@ -140,10 +140,10 @@ # restore state from previous time the dialog was open # default to 0 if no prior value - var curIndex = dlg.getNode("scratch-index", 1).getValue() or 0; - updateSearchResults(0, curIndex); - - var slaved = props.globals.getNode("/instrumentation/nav[0]/slaved-to-gps", 1); + var curIndex = dlg.getNode("scratch-index", 1).getValue() or 0; + updateSearchResults(0, curIndex); + + var slaved = props.globals.getNode("/instrumentation/nav[0]/slaved-to-gps", 1); ]]> @@ -794,7 +794,7 @@ left - + /instrumentation/nav[0]/slaved-to-gps dialog-apply