diff --git a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt index c544279..15c3b90 100644 --- a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt +++ b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt @@ -9,7 +9,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) : TWindow(parent, "Login", 0, 0, 36, 19, flags) { constructor(parent: TApplication) : this(parent, CENTERED) - var loginField = addPasswordField(CENTERED + 5, CENTERED - 1, 16, false, "", + var loginField = addField(CENTERED + 5, CENTERED - 1, 16, false, "", // enterAction - function to call when enter key is pressed object : TAction() { override fun DO() { @@ -39,7 +39,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) : } ); - var serverField = addPasswordField(CENTERED + 5, CENTERED + 7, 16, false, "", + var serverField = addField(CENTERED + 5, CENTERED + 7, 16, false, "", // enterAction - function to call when enter key is pressed object : TAction() { override fun DO() {