This patch fixes the problem.

diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index 8099aa7fa..8bde6aeff 100644
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -7320,7 +7320,7 @@ void MainWindow::on_reset_cabrillo_log_action_triggered ()
       m_logBook.contest_log ()->reset ();
       m_activeCall.clear();                      //Erase the QMap of active 
calls
       m_score=0;
-      m_ActiveStationsWidget->setScore(0);
+      if (m_ActiveStationsWidget) m_ActiveStationsWidget->setScore(0);
     }
 }

Mike W9MDB









On Tuesday, August 2, 2022 at 11:40:13 AM CDT, Ari Hyvonen via wsjt-devel 
<wsjt-devel@lists.sourceforge.net> wrote: 





Hi,

Noticed that if I Reset Cabrillo log, that causes the program to close without 
any error message. I had logging level as Info, nothing related to this gets 
written to syslog.
First I had some old qsos visible in contest log, after restart those were 
gone, same happens also if contest log is empty and I select 'Reset Cabrillo 
Log'

Windows 11, IC-9700

Regards,
Ari, OH6DX

_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to