diff options
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterTANComposite.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterTANComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterTANComposite.java index 66063a62..7bda7fc4 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterTANComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterTANComposite.java @@ -72,6 +72,12 @@ public class MobileBKUEnterTANComposite extends StateComposite { tan = tan.trim(); + if (tan.isEmpty()) { + MobileBKUEnterTANComposite.this.setMessage(Messages + .getString("error.NoTan")); //$NON-NLS-1$ + return; + } + if (MobileBKUEnterTANComposite.this.refVal.startsWith(tan)) { MobileBKUEnterTANComposite.this.setMessage(Messages .getString("error.EnteredReferenceValue")); //$NON-NLS-1$ |