From 1a8dd93886ff238e7273d319cdc64d980b4539f3 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 4 Apr 2021 14:26:41 -0700 Subject: [PATCH] Fixed password focus. --- MainForm.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MainForm.cs b/MainForm.cs index 99f8f46..0091add 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -367,6 +367,9 @@ namespace MeshCentralRouter catch (Exception) { } } } + + // Set the focus + if (userNameTextBox.Text != "") { passwordTextBox.Select(); } } bool isPointVisibleOnAScreen(Point p)