Commit a6e62d51 authored by Volker Krause's avatar Volker Krause
Browse files

Fix setting the region code for geo coding

parent 248e4c38
......@@ -184,7 +184,7 @@ Kirigami.FormLayout {
geocodeAddr.street = streetAddress.text;
geocodeAddr.postalCode = postalCode.text;
geocodeAddr.city = addressLocality.text;
geocodeAddr.state = addressRegion.text;
geocodeAddr.state = addressRegion.currentValue ? addressRegion.currentValue : "";
geocodeAddr.countryCode = addressCountry.currentValue;
geocodeModel.update();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment