From ac258c51af120856eb4adcdead71f514f65ee64f Mon Sep 17 00:00:00 2001 From: limepotato Date: Fri, 16 Feb 2024 17:15:45 -0700 Subject: [PATCH] Reorganize layout, and change Uname/Server fields to regular fields from passFields --- src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {