Update number of logged contest QSOs only if Contet Log has been made visible.

This commit is contained in:
Joe Taylor 2022-07-15 10:49:26 -04:00
parent e1fde92ea2
commit e5bf51abf6

View File

@ -4678,7 +4678,7 @@ void MainWindow::guiUpdate()
//Once per second (onesec) //Once per second (onesec)
if(nsec != m_sec0) { if(nsec != m_sec0) {
// qDebug() << "AAA" << nsec; // qDebug() << "AAA" << nsec;
m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso()); if(m_contestLogWindow) m_contestLogWindow->set_nQSO(m_logBook.contest_log()->n_qso());
if(m_mode=="FST4") chk_FST4_freq_range(); if(m_mode=="FST4") chk_FST4_freq_range();
m_currentBand=m_config.bands()->find(m_freqNominal); m_currentBand=m_config.bands()->find(m_freqNominal);