diff --git a/oscar/SleepLib/loader_plugins/resvent_loader.cpp b/oscar/SleepLib/loader_plugins/resvent_loader.cpp index 7238c352..216bbe90 100644 --- a/oscar/SleepLib/loader_plugins/resvent_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resvent_loader.cpp @@ -323,6 +323,8 @@ void LoadEvents(const QString& session_folder_path, Session* session, const Usag std::for_each(mapping.cbegin(), mapping.cend(), [&](EventType event_type){ UpdateEvents(event_type, events, session); }); + session->settings[CPAP_PressureMin] = 4.0; + session->settings[CPAP_PressureMax] = qMax(session->calcMax(CPAP_Pressure),session->calcMax(CPAP_IPAP)); } template