diff --git a/oscar/SleepLib/journal.cpp b/oscar/SleepLib/journal.cpp index 6e515497..e7c0d429 100644 --- a/oscar/SleepLib/journal.cpp +++ b/oscar/SleepLib/journal.cpp @@ -76,7 +76,7 @@ JournalEntry::JournalEntry(QDate date) session->set_last(et); // Let it live in memory...but not on disk unless data is changed... - jmach->AddSession(session); + jmach->AddSession(session, true); // and where does day get set??? does day actually need to be set?? day = p_profile->GetDay(date, MT_JOURNAL); diff --git a/oscar/daily.cpp b/oscar/daily.cpp index 88aeda70..9f14b31c 100644 --- a/oscar/daily.cpp +++ b/oscar/daily.cpp @@ -2126,7 +2126,7 @@ Session * Daily::CreateJournalSession(QDate date) sess->SetSessionID(st / 1000L); sess->set_first(st); sess->set_last(et); - m->AddSession(sess); + m->AddSession(sess, true); return sess; } Session * Daily::GetJournalSession(QDate date) // Get the first journal session