# HG changeset patch # User Andre Heinecke # Date 1411566567 -7200 # Node ID 7da9ec20eae4af2c1dc869b3b8db4eaa9e488181 # Parent f7e890c4dac6aaee3c018931c031789526cf2b43 (issue148) Disable UI Updates while loading the list. This removes flickering when updates are loaded. diff -r f7e890c4dac6 -r 7da9ec20eae4 ui/mainwindow.cpp --- a/ui/mainwindow.cpp Wed Sep 24 15:48:58 2014 +0200 +++ b/ui/mainwindow.cpp Wed Sep 24 15:49:27 2014 +0200 @@ -1240,6 +1240,7 @@ { /* TODO (issue134): if nothing is available (neither old nor new) add some progress * indication */ + setUpdatesEnabled(false); mInstallList->clear(); mRemoveList->clear(); mUpdatesNew->clear(); @@ -1358,6 +1359,7 @@ } listChanged(0); + setUpdatesEnabled(true); } void MainWindow::installerError(const QString& errMsg) {