mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-01 08:07:10 -04:00
Clear the DX grid if the base call of the DX call changes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7040 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
aa24f51398
commit
add3139fcc
@ -3323,6 +3323,11 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
||||
auto base_call = Radio::base_callsign (hiscall);
|
||||
if (base_call != Radio::base_callsign (ui->dxCallEntry-> text ()) || base_call != hiscall)
|
||||
{
|
||||
if (Radio::base_callsign (ui->dxCallEntry->text ()) != base_call) {
|
||||
// clear the DX grid if the base call of his call is different
|
||||
// from the current DX call
|
||||
ui->dxGridEntry->clear ();
|
||||
}
|
||||
// his base call different or his call more qualified
|
||||
// i.e. compound version of same base call
|
||||
ui->dxCallEntry->setText (hiscall);
|
||||
|
Loading…
Reference in New Issue
Block a user