Commit 8b83df51 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make sure we don't set the status until everything is in place

parent 2857f080
......@@ -60,7 +60,6 @@ void DummyTransaction::cancel()
void DummyTransaction::finishTransaction()
{
setStatus(DoneStatus);
AbstractResource::State newState;
switch(role()) {
case InstallRole:
......@@ -73,5 +72,6 @@ void DummyTransaction::finishTransaction()
}
m_app->setAddons(addons());
m_app->setState(newState);
setStatus(DoneStatus);
deleteLater();
}
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