Keep UI in line with messages when clicking F4

When tab 2 is  current the action of F4 is to set  the next message to
transmit the standard

Merged  from branch wsjtx-1.4.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4693 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-11-29 20:35:58 +00:00
parent cdda10c7ac
commit ed6b6143cf

View File

@ -794,8 +794,17 @@ void MainWindow::keyPressEvent( QKeyEvent *e ) //keyPressEvent
ui->dxCallEntry->setText("");
ui->dxGridEntry->setText("");
genStdMsgs("");
m_ntx=6;
ui->txrb6->setChecked(true);
if (1 == ui->tabWidget->currentIndex())
{
ui->genMsg->setText(ui->tx6->text());
m_ntx=7;
ui->rbGenMsg->setChecked(true);
}
else
{
m_ntx=6;
ui->txrb6->setChecked(true);
}
return;
case Qt::Key_F6:
if(e->modifiers() & Qt::ShiftModifier) {