Corrected the logic for setting rig frequency to the Default Frequency

on the Setup screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3099 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-03-25 20:15:30 +00:00
parent d2f277dff2
commit df3e97889a
1 changed files with 2 additions and 1 deletions

View File

@ -2205,7 +2205,8 @@ void MainWindow::on_actionLog_dB_reports_to_Comments_triggered(bool checked)
void MainWindow::on_bandComboBox_currentIndexChanged(int index)
{
m_band=index;
m_dialFreq=dFreq[index];
QString t=m_dFreq[index];
m_dialFreq=t.toDouble();
dialFreqChanged2(m_dialFreq);
if(m_catEnabled) {
int nHz=int(1000000.0*m_dialFreq + 0.5);