mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 23:57:10 -04:00
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:
parent
cdda10c7ac
commit
ed6b6143cf
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user