Skip to content

Commit

Permalink
Validate QSO before force-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rmc47 committed Apr 30, 2024
1 parent 6902eee commit b77e9bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UI/ContestForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,11 @@ private void CurrentQSOKeyDown(object sender, KeyEventArgs e)
}
}
}
else if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.Oemplus && m_ESMEnabled)
else if (ModifierKeys == Keys.Control && e.KeyCode == Keys.Oemplus && m_ESMEnabled && OnlineStatus && ValidateContact())
{
try
{
e.SuppressKeyPress = true;
m_ContactStore.SaveContact(Contact);
m_QarSender.SendQso(Contact);
ClearContactRow(true);
Expand Down

0 comments on commit b77e9bd

Please sign in to comment.