summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:26:08 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:26:08 +0000
commit27ef7513471d939392ea0b003e700ea8427abb54 (patch)
tree1443793c5a694418e9826820a91e273552a659dc /pdf-over-gui/src/main/java/at/asit/pdfover/gui
parent62124f979338408491a946dc6e08e183438f5769 (diff)
downloadpdf-over-27ef7513471d939392ea0b003e700ea8427abb54.tar.gz
pdf-over-27ef7513471d939392ea0b003e700ea8427abb54.tar.bz2
pdf-over-27ef7513471d939392ea0b003e700ea8427abb54.zip
Set focus to password if number is set
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@320 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
index eb2a4bfe..e576bb6a 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
@@ -317,8 +317,9 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
public void setMobileNumber(String mobileNumber) {
this.mobileNumber = mobileNumber;
- if (this.mobileNumber != null) {
+ if (this.mobileNumber != null && !this.mobileNumber.isEmpty()) {
this.txt_number.setText(this.mobileNumber);
+ this.txt_password.setFocus();
} else {
this.txt_number.setText(""); //$NON-NLS-1$
}