mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 23:58:39 -05:00
IMproved logic for when DX Grid is edited or cleared.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3486 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
99fd6ad950
commit
517112301d
@ -908,6 +908,8 @@ void MainWindow::keyPressEvent( QKeyEvent *e ) //keyPressEvent
|
||||
ui->dxCallEntry->setText("");
|
||||
ui->dxGridEntry->setText("");
|
||||
genStdMsgs("");
|
||||
m_ntx=6;
|
||||
ui->txrb6->setChecked(true);
|
||||
break;
|
||||
case Qt::Key_F6:
|
||||
if(e->modifiers() & Qt::ShiftModifier) {
|
||||
@ -2415,14 +2417,6 @@ void MainWindow::on_dxGridEntry_textChanged(const QString &t) //dxGrid changed
|
||||
if(n!=4 and n!=6) {
|
||||
ui->labAz->setText("");
|
||||
ui->labDist->setText("");
|
||||
ui->tx1->setText("");
|
||||
ui->tx2->setText("");
|
||||
ui->tx3->setText("");
|
||||
ui->tx4->setText("");
|
||||
ui->tx5->setText("");
|
||||
ui->tx6->setText("");
|
||||
ui->genMsg->setText("");
|
||||
ui->freeTextMsg->setText("");
|
||||
return;
|
||||
}
|
||||
if(!t[0].isLetter() or !t[1].isLetter()) return;
|
||||
|
Loading…
Reference in New Issue
Block a user