From f26dd5ed1dd2e1054beefda7cad56b07bfbfceb2 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 25 Mar 2013 20:15:30 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 662b6db75..ba4e46e2c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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);