Name fix
This commit is contained in:
parent
13fed67b8a
commit
0dd6c4a2e7
1 changed files with 4 additions and 1 deletions
|
@ -266,7 +266,10 @@ public class EditingPOIActivity implements DialogProvider {
|
|||
}
|
||||
}
|
||||
n.putTag(tag, val);
|
||||
n.putTag(OSMTagKey.NAME.getValue(), nameText.getText().toString());
|
||||
String name = nameText.getText().toString();
|
||||
if(name.length() > 0) {
|
||||
n.putTag(OSMTagKey.NAME.getValue(), name);
|
||||
}
|
||||
if (openingHours.getText().toString().length() == 0) {
|
||||
n.removeTag(OSMTagKey.OPENING_HOURS.getValue());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue