From 010d3ca9e1b966069adcda14f3ac90b7ba4543df Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Sat, 6 Jun 2020 12:34:34 -0700 Subject: [PATCH] Fix possible startup problem with View/Show Personal Data --- oscar/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index d8f79733..5162e015 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -2715,7 +2715,8 @@ void MainWindow::on_actionDaily_Calendar_toggled(bool visible) void MainWindow::on_actionShowPersonalData_toggled(bool visible) { AppSetting->setShowPersonalData(visible); - GenerateStatistics(); + if (!setupRunning) + GenerateStatistics(); } #include "SleepLib/journal.h"