diff --git a/src/Widget1.java b/src/Widget1.java index cb4f3f5..f070d12 100644 --- a/src/Widget1.java +++ b/src/Widget1.java @@ -156,7 +156,7 @@ String w2d109ad3739d4744a1874ac179fc38b9 = this.w2d109ad3739d4744a1874ac179fc38b9.getValue(); this.widget1 = screen.getWidgets().getWidget(w2d109ad3739d4744a1874ac179fc38b9); String w2d109ad3739d4744a1874ac179fc38b9_ = this.widget1.getText(); - if (w2d109ad3739d4744a1874ac179fc38b9_ != null) { + if (w2d109ad3739d4744a1874ac179fc38b9_ != null && !w2d109ad3739d4744a1874ac179fc38b9_.isEmpty()) { this.businessCardManagement.delete(curScreen, wid, this.state, w2d109ad3739d4744a1874ac179fc38b9, w2d109ad3739d4744a1874ac179fc38b9_); } } @@ -170,7 +170,7 @@ String w2d109ad3739d4744a1874ac179fc38b9 = this.w2d109ad3739d4744a1874ac179fc38b9.getValue(); this.widget1 = screen.getWidgets().getWidget(w2d109ad3739d4744a1874ac179fc38b9); String w2d109ad3739d4744a1874ac179fc38b9_ = this.widget1.getText(); - if (w2d109ad3739d4744a1874ac179fc38b9_ != null) { + if (w2d109ad3739d4744a1874ac179fc38b9_ != null && !w2d109ad3739d4744a1874ac179fc38b9_.isEmpty()) { String company = this.company.getValue(); String representative = this.representative.getValue(); String position = this.position.getValue();