Set progress bar color to normal if loading okay
This commit is contained in:
parent
293ebc8d46
commit
6445410c2a
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user