From 71d0ffed25e13423947dd86e51397f62056875ea Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 11 Jan 2012 19:54:54 +1000 Subject: [PATCH] Force recalc to restart after to switch UserFlags graphs back on --- preferencesdialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 2b868738..ae70d698 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -305,10 +305,11 @@ bool PreferencesDialog::Save() // Restart if turning user event flagging on/off if (profile->cpap->userEventFlagging()!=ui->customEventGroupbox->isChecked()) { - if (profile->cpap->userEventFlagging()) { + // if (profile->cpap->userEventFlagging()) { // Don't bother recalculating, just switch off needs_restart=true; - } else recalc_events=true; + //} else + recalc_events=true; } if (profile->session->compressSessionData()!=ui->compressSessionData->isChecked())