Update OsmandSettings.java
This commit is contained in:
parent
a462859e29
commit
3aa69f7f0e
1 changed files with 2 additions and 2 deletions
|
@ -1298,7 +1298,7 @@ public class OsmandSettings {
|
||||||
|
|
||||||
public final static String POINT_NAVIGATE_LAT = "point_navigate_lat"; //$NON-NLS-1$
|
public final static String POINT_NAVIGATE_LAT = "point_navigate_lat"; //$NON-NLS-1$
|
||||||
public final static String POINT_NAVIGATE_LON = "point_navigate_lon"; //$NON-NLS-1$
|
public final static String POINT_NAVIGATE_LON = "point_navigate_lon"; //$NON-NLS-1$
|
||||||
public final static String POINT_NAVIGATE_ROUTE = "point_navigate_route_int"; //$NON-NLS-1$
|
public final static String POINT_NAVIGATE_ROUTE = "point_navigate_route_integer"; //$NON-NLS-1$
|
||||||
public final static int NAVIGATE_CURRENT_GPX = 2;
|
public final static int NAVIGATE_CURRENT_GPX = 2;
|
||||||
public final static int NAVIGATE = 1;
|
public final static int NAVIGATE = 1;
|
||||||
public final static String POINT_NAVIGATE_DESCRIPTION = "point_navigate_description"; //$NON-NLS-1$
|
public final static String POINT_NAVIGATE_DESCRIPTION = "point_navigate_description"; //$NON-NLS-1$
|
||||||
|
@ -1454,7 +1454,7 @@ public class OsmandSettings {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean navigateDialog() {
|
public boolean navigateDialog() {
|
||||||
return settingsAPI.edit(globalPreferences).putString(POINT_NAVIGATE_ROUTE, "true").commit();
|
return navigateDialog(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean navigateDialog(boolean gpx) {
|
public boolean navigateDialog(boolean gpx) {
|
||||||
|
|
Loading…
Reference in a new issue