From d02d01f3f258ab502abec758f9c4b5e1d43389ab Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Fri, 5 Jun 2020 09:25:42 -0700 Subject: [PATCH] Fix use case where View/Show Personal Data might not work --- oscar/mainwindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index 1a17f59f..d8f79733 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -2715,9 +2715,7 @@ void MainWindow::on_actionDaily_Calendar_toggled(bool visible) void MainWindow::on_actionShowPersonalData_toggled(bool visible) { AppSetting->setShowPersonalData(visible); - if (ui->tabWidget->currentWidget() == ui->statisticsTab) { - GenerateStatistics(); - } + GenerateStatistics(); } #include "SleepLib/journal.h"