File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/org/redcross/openmapkit/tagswipe Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ android {
88 applicationId " org.redcross.openmapkit"
99 minSdkVersion 16
1010 targetSdkVersion 21
11- versionCode 14
12- versionName " 0.14 "
11+ versionCode 15
12+ versionName " 0.15 "
1313 }
1414 buildTypes {
1515 release {
Original file line number Diff line number Diff line change @@ -157,8 +157,9 @@ public ODKTag getODKTag() {
157157 private void updateTagInOSMElement () {
158158 // check boxes
159159 if (odkTag != null && checkBoxMode ) {
160- if (odkTag .hasCheckedTagValues ()) {
161- if (editTextCheckBox .isChecked ()) {
160+ boolean editTextCheckBoxChecked = editTextCheckBox .isChecked ();
161+ if (odkTag .hasCheckedTagValues () || editTextCheckBoxChecked ) {
162+ if (editTextCheckBoxChecked ) {
162163 tagVal = odkTag .getSemiColonDelimitedTagValues (checkBoxEditText .getText ().toString ());
163164 } else {
164165 tagVal = odkTag .getSemiColonDelimitedTagValues (null );
You can’t perform that action at this time.
0 commit comments