Skip to content

Commit

Permalink
- Fixes OwnshipID text box never gets reset to default background color
Browse files Browse the repository at this point in the history
  • Loading branch information
FalcoGer committed Jan 12, 2024
1 parent ca80529 commit 781707c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CoordinateConverter/DCS/Tools/FormAH64DTC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down Expand Up @@ -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))
{
Expand Down

0 comments on commit 781707c

Please sign in to comment.