Fix a new (and annoying) bug: program refuses to start if "+2 kHz" was

checked on the previous program termination.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3487 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-07-15 22:55:32 +00:00
parent deafce098a
commit b0fb8bc839

View File

@ -45,7 +45,6 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QWidget *parent) :
ui(new Ui::MainWindow)
{
ui->setupUi(this);
on_EraseButton_clicked();
QActionGroup* paletteGroup = new QActionGroup(this);
ui->actionCuteSDR->setActionGroup(paletteGroup);
@ -2713,8 +2712,10 @@ void MainWindow::on_bandComboBox_activated(int index)
ret=rig->setFreq(MHz(m_dialFreq));
if(m_bSplit or m_bXIT) setXIT(m_txFreq);
bumpFqso(11);
bumpFqso(12);
if(g_pWideGraph!=NULL) {
bumpFqso(11);
bumpFqso(12);
}
if(ret!=RIG_OK) {
rt.sprintf("Set rig frequency failed: %d",ret);
msgBox(rt);