From 781707c1cdf80346f0815a380b17d98f83e9487f Mon Sep 17 00:00:00 2001 From: Falco Date: Fri, 12 Jan 2024 04:37:00 +0100 Subject: [PATCH] - Fixes OwnshipID text box never gets reset to default background color --- CoordinateConverter/DCS/Tools/FormAH64DTC.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoordinateConverter/DCS/Tools/FormAH64DTC.cs b/CoordinateConverter/DCS/Tools/FormAH64DTC.cs index a996eb0..98b2ed4 100644 --- a/CoordinateConverter/DCS/Tools/FormAH64DTC.cs +++ b/CoordinateConverter/DCS/Tools/FormAH64DTC.cs @@ -1059,7 +1059,7 @@ private void tbOwnshipCallsign_TextChanged(object objsender, EventArgs e) TextBox sender = objsender as TextBox; string text = sender.Text.ToUpper(); toolTip.Hide(this); - tbOwnshipCallsign.BackColor = default; + sender.BackColor = default; if (string.IsNullOrEmpty(text)) { @@ -1091,7 +1091,7 @@ private void tbOwnshipSubscriberID_TextChanged(object objsender, EventArgs e) TextBox sender = objsender as TextBox; string text = sender.Text.ToUpper(); toolTip.Hide(this); - tbOwnshipCallsign.BackColor = default; + sender.BackColor = default; if (string.IsNullOrEmpty(text)) {