Index: sources/view/confirm/VConfirm.cpp =================================================================== diff -u -rbcb92b3c14c59f0761c366501a0e3262e9a061f9 -r4509b968b7280dc7e5b21490f9b5ec99f60e878f --- sources/view/confirm/VConfirm.cpp (.../VConfirm.cpp) (revision bcb92b3c14c59f0761c366501a0e3262e9a061f9) +++ sources/view/confirm/VConfirm.cpp (.../VConfirm.cpp) (revision 4509b968b7280dc7e5b21490f9b5ec99f60e878f) @@ -89,6 +89,12 @@ cancelByID ( /*! isReject()*/ ); // cancel ( tr("CLOSE" ) ); + // These need to be set to be used in the messageModifier + extraParam1 ( vData.mExtraParam1 ); + extraParam2 ( vData.mExtraParam2 ); + extraParam3 ( vData.mExtraParam3 ); + extraParam4 ( vData.mExtraParam4 ); + id ( vData.mId ); } @@ -155,11 +161,16 @@ */ void View::VConfirm::onActionReceive(const DuetConfirmHDiData &vData) { - isPowerOff(false ); + isPowerOff( false ); setConfirmCommand ( vData ); setConfirmId ( vData ); setDryDemoStatus ( vData ); + extraParam1 ( vData.mExtraParam1 ); + extraParam2 ( vData.mExtraParam2 ); + extraParam3 ( vData.mExtraParam3 ); + extraParam4 ( vData.mExtraParam4 ); + // *** has to be the last to let the information to be set and then emit the signal *** // *** otherwise will use the Previous values before being set. *** adjustment ( true ); @@ -169,7 +180,7 @@ void View::VConfirm::onActionReceive(const PowerOffData &vData) { - isPowerOff(true ); + isPowerOff( true ); setPowerOffCommand ( ); setPowerOffId ( );