Index: sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp =================================================================== diff -u -rf9e747f0f28df1cc6a33179f0bc78bfc03d486fc -r44c45c64baa4ddcd94b0fda9ec5d735bb087caa9 --- sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision f9e747f0f28df1cc6a33179f0bc78bfc03d486fc) +++ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp (.../VPostTreatmentAdjustTreatmentLog.cpp) (revision 44c45c64baa4ddcd94b0fda9ec5d735bb087caa9) @@ -52,6 +52,9 @@ * \details the invocable slot to send user's treatment log request */ void View::VPostTreatmentAdjustmentTreatmentLog::doRequest() { + _TreatmentLog.clearModel(); + parametersText ( {} ); + AdjustTreatmentLogRequestData data; emit didAdjustment(data); } @@ -75,8 +78,7 @@ adjustment_Reason ( vData.mReason ); // init the TreatmentLog model - bool isHeparinOff = heparinBolusVolumeOff() && heparinDispensingRateOff(); - _TreatmentLog.initModel ( vData, _patientID.trimmed(), isHeparinOff); + _TreatmentLog.initModel ( vData, _patientID.trimmed(), heparinBolusVolumeOff(), heparinDispensingRateOff()); if ( vData.mAccepted ) { //TODO Commented out for now // It is needed to display NONE for the heparin items if the heparin set to off on Create Treatment Parameters screen. @@ -87,7 +89,7 @@ // Look for the https://diality.atlassian.net/browse/DEN-15911 // to know were to update for full model the view update. // When the model updated the valueGui() can be removed and valuesLog() can be used. - parametersText ( _TreatmentLog.valuesGui() ); + parametersText ( _TreatmentLog.values() ); } else { parametersText ( {} ); }