Don't increment watchdog timer in WSPR modes

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6897 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-07-08 20:45:33 +00:00
parent d1adc4793e
commit aa88b067fb
1 changed files with 4 additions and 2 deletions

View File

@ -869,13 +869,15 @@ void MainWindow::on_the_minute ()
}
}
if (m_repeatMsg < m_config.watchdog ()) ++m_repeatMsg;
if (!m_mode.startsWith ("WSPR") && m_config.watchdog () != 0)
if (!m_mode.startsWith ("WSPR") && m_config.watchdog () != 0
&& m_repeatMsg < m_config.watchdog ())
{
++m_repeatMsg;
updateProgressBarFormat (true);
}
else
{
m_repeatMsg = 0;
updateProgressBarFormat (false);
}
}