Set progress bar color to normal if loading okay

This commit is contained in:
Florian Bruhin 2014-01-29 15:50:15 +01:00
parent 293ebc8d46
commit 6445410c2a

View File

@ -72,6 +72,7 @@ class Progress(QProgressBar):
"""
if ok:
self.color = config.colordict.getraw('status.progress.bg')
self.hide()
else:
self.color = config.colordict.getraw('statusbar.progress.bg.error')