mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-20 02:52:00 -05:00
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:
parent
e8177a5887
commit
f26dd5ed1d
@ -2205,7 +2205,8 @@ void MainWindow::on_actionLog_dB_reports_to_Comments_triggered(bool checked)
|
|||||||
void MainWindow::on_bandComboBox_currentIndexChanged(int index)
|
void MainWindow::on_bandComboBox_currentIndexChanged(int index)
|
||||||
{
|
{
|
||||||
m_band=index;
|
m_band=index;
|
||||||
m_dialFreq=dFreq[index];
|
QString t=m_dFreq[index];
|
||||||
|
m_dialFreq=t.toDouble();
|
||||||
dialFreqChanged2(m_dialFreq);
|
dialFreqChanged2(m_dialFreq);
|
||||||
if(m_catEnabled) {
|
if(m_catEnabled) {
|
||||||
int nHz=int(1000000.0*m_dialFreq + 0.5);
|
int nHz=int(1000000.0*m_dialFreq + 0.5);
|
||||||
|
Loading…
Reference in New Issue
Block a user