mirror of https://gitlab.com/pamhyr/pamhyr2
CheckList: Minor change.
parent
48c799c00a
commit
acaa369e77
|
|
@ -110,7 +110,7 @@ class CheckListWindow(ASubMainWindow, ListedSubWindow):
|
||||||
def _compute_status_label(self):
|
def _compute_status_label(self):
|
||||||
ok, warning, error = self._compute_status()
|
ok, warning, error = self._compute_status()
|
||||||
return (f"<font color=\"Green\">Ok: {ok} </font> |" +
|
return (f"<font color=\"Green\">Ok: {ok} </font> |" +
|
||||||
f"<font color=\"Yellow\">Warning: {warning} </font> |" +
|
f"<font color=\"Orange\">Warning: {warning} </font> |" +
|
||||||
f"<font color=\"Red\">Error: {error}</font>")
|
f"<font color=\"Red\">Error: {error}</font>")
|
||||||
|
|
||||||
def setup_statusbar(self):
|
def setup_statusbar(self):
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class Worker(QObject):
|
||||||
for checker in self._checker_list:
|
for checker in self._checker_list:
|
||||||
self.signalStatus.emit(checker.name)
|
self.signalStatus.emit(checker.name)
|
||||||
|
|
||||||
time.sleep(1)
|
# time.sleep(1)
|
||||||
checker.run(self._study)
|
checker.run(self._study)
|
||||||
|
|
||||||
self.signalStatus.emit("progress")
|
self.signalStatus.emit("progress")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue