Commit b099ea3d authored by Ivan Čukić's avatar Ivan Čukić 👁

Do not load the payload from the first page when opening the wizard

parent 1ba5dccb
......@@ -153,7 +153,10 @@ public:
// Calling to initialize the module -- we are passing all the
// previously collected data to it
auto collectedPayload = firstStepModule->fields();
auto collectedPayload =
firstStepModule == module ?
PlasmaVault::Vault::Payload{} :
firstStepModule->fields();
for (const auto* module: currentStepModules) {
collectedPayload.unite(module->fields());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment