From 1ee448361965ca8e72b3233165d6f6af08ac52ea Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 7 Jun 2023 13:01:43 +1000 Subject: [PATCH] notify: Focus ok on load --- FireWallet/NotifyForm.Designer.cs | 2 +- FireWallet/NotifyForm.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FireWallet/NotifyForm.Designer.cs b/FireWallet/NotifyForm.Designer.cs index fa9e772..bf23f34 100644 --- a/FireWallet/NotifyForm.Designer.cs +++ b/FireWallet/NotifyForm.Designer.cs @@ -50,7 +50,7 @@ buttonOK.Location = new Point(271, 120); buttonOK.Name = "buttonOK"; buttonOK.Size = new Size(99, 38); - buttonOK.TabIndex = 1; + buttonOK.TabIndex = 0; buttonOK.Text = "Ok"; buttonOK.UseVisualStyleBackColor = true; buttonOK.Click += OK_Click; diff --git a/FireWallet/NotifyForm.cs b/FireWallet/NotifyForm.cs index b7443da..e85a32c 100644 --- a/FireWallet/NotifyForm.cs +++ b/FireWallet/NotifyForm.cs @@ -32,6 +32,7 @@ namespace FireWallet buttonALT.Text = altText; buttonALT.Visible = true; this.altLink = altLink; + buttonOK.Focus(); } #region Theming