Index: sources/gui/qml/pages/MainStack.qml =================================================================== diff -u -rcadc67bc540fdf1f1e003c55fcf29a92e6686d89 -r5687815256ae070a9a207107088e3f72dd464da0 --- sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision cadc67bc540fdf1f1e003c55fcf29a92e6686d89) +++ sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision 5687815256ae070a9a207107088e3f72dd464da0) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file MainStack.qml * \author (last) Behrouz NematiPour - * \date (last) 26-Jul-2023 + * \date (last) 11-Jul-2024 * \author (original) Behrouz NematiPour * \date (original) 01-Mar-2021 * @@ -145,15 +145,15 @@ function onIsSettingsChanged ( vValue ) { if( vValue ) _mainMenu.isSettings () } function onFaultChanged ( vValue ) { page( _startupScreen , vValue )} - function onServiceChanged ( vValue ) { } + function onServiceChanged ( vValue ) { page( _startupScreen , vValue )} function onInitChanged ( vValue ) { page( _postModeScreen , vValue && ! vSettings.noCANBus ) if( vValue ) vHDPOSTData.reset() // better to reset on vinit = true because the rest makes the screen animation to run } function onHomeChanged ( vValue ) { page( _startupScreen , vValue )} function onStandbyChanged ( vValue ) { /* It depends on the subModes of the standBy. Handled by onHome. */ } function onStandbyStartChanged ( vValue ) { /* It depends on the subModes of the standBy. Handled by onHome. */ } - function onStandbyWaitTreatmentChanged ( vValue ) { /* It depends on the subModes of the standBy. Handled by onHome. */ } + function onStandbyWaitTreatmentChanged ( vValue ) { if ( vValue ) vDisinfectAdjustDisinfect.hasCancel = false } function onStandbyWaitDisinfectChanged ( vValue ) { page( _disinfectStack , vValue )} function onValidateParametersChanged ( vValue ) { _preTreatmentCreateStack.clear ( vValue ) // vValue == true if enterig the state ( clear only on entering).