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 517112301d
commit 2173147077

View File

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