Commit 3783c2d2 authored by Daniel Nicoletti's avatar Daniel Nicoletti
Browse files

Make sure we don't exit the transaction after accepting the EULA

BUG: 314256
parent 063e6eee
......@@ -486,12 +486,14 @@ void PkTransaction::installSignature()
}
void PkTransaction::slotFinished(Transaction::Exit status)
{
{
// Clear the model to don't keep trash when reusing the transaction
d->progressModel->clear();
Requirements *requires = 0;
Transaction::Role _role = role();
kDebug() << status << _role;
switch (_role) {
case Transaction::RoleInstallSignature:
case Transaction::RoleAcceptEula:
......@@ -499,13 +501,13 @@ void PkTransaction::slotFinished(Transaction::Exit status)
// if the required action was performed with success
// requeue our main transaction
requeueTransaction();
return;
}
break;
default:
break;
}
kDebug() << status << _role;
switch(status) {
case Transaction::ExitSuccess:
// Check if we are just simulating
......
Supports Markdown
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