summaryrefslogtreecommitdiffstats
path: root/app/forms/RouteAddress.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-11-21 22:36:36 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-11-21 23:12:08 -0800
commitcf66d1e24ad21c0ca7410d0b19f721c7415dd2cc (patch)
treeaf1586beb25d7e9b6d6acc9b845b2a5f1b807c46 /app/forms/RouteAddress.qml
parent12d5a1e9aadc26ddd4aceadb96234bc4f378b39e (diff)
navigation: qml: add State field to RouteAddress form
Bug-AGL: SPEC-1068 Change-Id: I0936ccea829ac7ecc537e25cb6b4c64017191f11 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/forms/RouteAddress.qml')
-rw-r--r--app/forms/RouteAddress.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/forms/RouteAddress.qml b/app/forms/RouteAddress.qml
index e41277e..b8b8897 100644
--- a/app/forms/RouteAddress.qml
+++ b/app/forms/RouteAddress.qml
@@ -55,6 +55,7 @@ RouteAddressForm {
toAddress.country = toCountry.text
toAddress.street = toStreet.text
toAddress.city = toCity.text
+ toAddress.state = toState.text
tempGeocodeModel.startCoordinate = fromCoordinate
tempGeocodeModel.endCoordinate = QtPositioning.coordinate()
tempGeocodeModel.query = fromCoordinate
@@ -65,6 +66,7 @@ RouteAddressForm {
clearButton.onClicked: {
toStreet.text = ""
toCity.text = ""
+ toState.text = ""
toCountry.text = ""
}
@@ -75,6 +77,7 @@ RouteAddressForm {
Component.onCompleted: {
toStreet.text = toAddress.street
toCity.text = toAddress.city
+ toState.text = toAddress.state
toCountry.text = toAddress.country
}