Fix possible startup problem with View/Show Personal Data

This commit is contained in:
Guy Scharf 2020-06-06 12:34:34 -07:00
parent d02d01f3f2
commit 010d3ca9e1

View File

@ -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"