Pārlūkot izejas kodu

Trim names in NewAccountDialog

Tankernn 8 gadi atpakaļ
vecāks
revīzija
3f217ee3d2

+ 2 - 2
src/eu/tankernn/accounts/frame/NewAccountDialog.java

@@ -24,11 +24,11 @@ public class NewAccountDialog {
 	}
 
 	public String getFirstName() {
-		return firstName.getText();
+		return firstName.getText().trim();
 	}
 
 	public String getLastName() {
-		return lastName.getText();
+		return lastName.getText().trim();
 	}
 
 	public int getResult() {