Mercurial > trustbridge
diff ui/mainwindow.cpp @ 1233:7da9ec20eae4
(issue148) Disable UI Updates while loading the list.
This removes flickering when updates are loaded.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 15:49:27 +0200 |
parents | f7e890c4dac6 |
children | ad4fc3649ffb |
line wrap: on
line diff
--- 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) {