Ensure that WSPR band hopping is disabled when Rig is None

Also added  a new configuration query  method to check if  Rig is None
i.e. a dummy rig.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6629 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2016-04-20 20:22:23 +00:00
parent 5133a3d71b
commit 84d6a667f1
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -5245,7 +5245,8 @@ void MainWindow::on_pbTxNext_clicked(bool b)
void MainWindow::WSPR_scheduling ()
{
m_WSPR_tx_next = false;
if (m_config.is_transceiver_online () // need rig control for hopping
if (m_config.is_transceiver_online () // need working rig control for hopping
&& !m_config.is_dummy_rig ()
&& ui->band_hopping_group_box->isChecked ()) {
auto hop_data = m_WSPR_band_hopping.next_hop (m_auto);
qDebug () << "hop data: period:" << hop_data.period_name_