Respond to clicks on Gen/Free radio buttons even if checked

The generated and free text radio buttons now refresh the sent message
even if teh clicked radio button is already checked.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5444 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-05-28 15:44:03 +00:00
parent a6dc737469
commit 0f7708a98a
2 changed files with 4 additions and 4 deletions

View File

@ -3429,7 +3429,7 @@ void MainWindow::on_pbSend73_clicked()
if(m_transmitting) m_restart=true;
}
void MainWindow::on_rbGenMsg_toggled(bool checked)
void MainWindow::on_rbGenMsg_clicked(bool checked)
{
m_freeText=!checked;
if(!m_freeText) {
@ -3438,7 +3438,7 @@ void MainWindow::on_rbGenMsg_toggled(bool checked)
}
}
void MainWindow::on_rbFreeText_toggled(bool checked)
void MainWindow::on_rbFreeText_clicked(bool checked)
{
m_freeText=checked;
if(m_freeText) {

View File

@ -163,8 +163,8 @@ private slots:
void on_pbAnswerCQ_clicked();
void on_pbSendReport_clicked();
void on_pbSend73_clicked();
void on_rbGenMsg_toggled(bool checked);
void on_rbFreeText_toggled(bool checked);
void on_rbGenMsg_clicked(bool checked);
void on_rbFreeText_clicked(bool checked);
void on_freeTextMsg_currentTextChanged (QString const&);
void on_rptSpinBox_valueChanged(int n);
void killFile();