Index: sources/view/VTreatmentCreate.cpp =================================================================== diff -u -r1a7d3535b65d7edf23bc6638c4113e4b55c49c2a -r0583a63307936f09e184dfe16acca25f9e3fd81c --- sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 1a7d3535b65d7edf23bc6638c4113e4b55c49c2a) +++ sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 0583a63307936f09e184dfe16acca25f9e3fd81c) @@ -457,6 +457,7 @@ saveNewTreatment(obj); // Tell FW we confirm + confirmTreatmentRequest.request = ConfirmTreatmentRequestData::eConfirm; emit requestConfirm(confirmTreatmentRequest); // no FW response required @@ -739,7 +740,6 @@ emit rinsebackFlowRate_ValidationFailed(uiRejections.value(OUT_OF_RANGE)); success = false; } - return success; } @@ -867,7 +867,6 @@ emit requestSelectParameters(startTreatmentRequest); } - /** * @brief VCreateTreatment::onCancelSelectingParameters * Sends a request to FW to cancel selecting parameters @@ -880,6 +879,19 @@ } /** + * @brief VCreateTreatment::onCancelConfirmParameters + * Notifies FW the user has cancelled confirming the treatment parameters + */ +void VTreatmentCreate::onCancelConfirmParameters() +{ + // Tell FW we cancel confirm + qDebug() << "Telling FW user is cancelling confirm treatment parameters..."; + confirmTreatmentRequest.request = ConfirmTreatmentRequestData::eCancel; + emit requestConfirm(confirmTreatmentRequest); + goToNextPage(false); +} + +/** * @brief VCreateTreatment::onRequestPop * Navigates backward in the create treatment process. */