Skip to content
Snippets Groups Projects
Commit 7477fb52 authored by Clement Lefebvre's avatar Clement Lefebvre
Browse files
parent 1b3381be
No related branches found
No related tags found
No related merge requests found
......@@ -520,17 +520,15 @@ int main(int argc, char **argv)
}
//no need to open a cache that will invalid after the update
if(!UpdateMode) {
mainWindow->setTreeLocked(true);
if(!packageLister->openCache()) {
mainWindow->showErrors();
exit(1);
}
mainWindow->restoreState();
mainWindow->showErrors();
mainWindow->setTreeLocked(false);
mainWindow->setTreeLocked(true);
if(!packageLister->openCache()) {
mainWindow->showErrors();
exit(1);
}
mainWindow->restoreState();
mainWindow->showErrors();
mainWindow->setTreeLocked(false);
if (_config->FindB("Volatile::startInRepositories", false)) {
mainWindow->cbShowSourcesWindow(NULL, mainWindow);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment