Execute the "band changed" routine when the Band combobox is activated,

even if selected band has not changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3244 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-04-29 23:53:23 +00:00
parent 08d316082c
commit 92f2262e11
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -2528,7 +2528,7 @@ void MainWindow::on_actionLog_dB_reports_to_Comments_triggered(bool checked)
m_dBtoComments=checked; m_dBtoComments=checked;
} }
void MainWindow::on_bandComboBox_currentIndexChanged(int index) void MainWindow::on_bandComboBox_activated(int index)
{ {
m_band=index; m_band=index;
QString t=m_dFreq[index]; QString t=m_dFreq[index];
@ -2761,3 +2761,4 @@ void MainWindow::on_pbT2R_clicked()
{ {
g_pWideGraph->setQSOfreq(m_txFreq); g_pWideGraph->setQSOfreq(m_txFreq);
} }

View File

@ -128,7 +128,6 @@ private slots:
void startTx2(); void startTx2();
void stopTx(); void stopTx();
void stopTx2(); void stopTx2();
void on_bandComboBox_currentIndexChanged(int index);
void on_actionPrompt_to_log_QSO_triggered(bool checked); void on_actionPrompt_to_log_QSO_triggered(bool checked);
void on_actionBlank_line_between_decoding_periods_triggered(bool checked); void on_actionBlank_line_between_decoding_periods_triggered(bool checked);
void on_actionClear_DX_Call_and_Grid_after_logging_triggered(bool checked); void on_actionClear_DX_Call_and_Grid_after_logging_triggered(bool checked);
@ -154,6 +153,7 @@ private slots:
void on_pbR2T_clicked(); void on_pbR2T_clicked();
void on_pbT2R_clicked(); void on_pbT2R_clicked();
void acceptQSO2(bool accepted); void acceptQSO2(bool accepted);
void on_bandComboBox_activated(int index);
private: private:
Ui::MainWindow *ui; Ui::MainWindow *ui;