Index: sources/device/DeviceController.cpp =================================================================== diff -u -r20fd0f6c963bc4dedc81ecb3258a2a4c52295a0f -r4fc7cdc599de191e91296623ec783542b7a3c7b8 --- sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision 20fd0f6c963bc4dedc81ecb3258a2a4c52295a0f) +++ sources/device/DeviceController.cpp (.../DeviceController.cpp) (revision 4fc7cdc599de191e91296623ec783542b7a3c7b8) @@ -693,6 +693,7 @@ // Update UI with a response MDeviceCryptSetupResponse model; + model._data.isExited = false; model._data.mAccepted = false; model._data.mMessage = tr("Encrypted Partition %1 started.").arg(_deviceCryptSetupRequest._data.mCommand); emit didAttributeResponse(model.data()); @@ -711,6 +712,8 @@ // any other checking is done by UI Software at the moment this script is called. // The only thing matters is the pared device info in text and it will be empty string if error happens. MDeviceCryptSetupResponse model; + model._data.isExited = true; // Indicate that request completed + QByteArray deviceInfo; if ( vStatus ) vExitCode = Device::DeviceError::eDevice_Scripts_Error_Status; else deviceInfo = _processCryptSetup.readAll();