[ui] add node computation on error status

This commit is contained in:
broods 2023-01-11 18:39:27 +01:00 committed by Aurore LAFAURIE
parent e556f4f276
commit a29061efd5
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ Panel {
if (node !== null && node.isSubmittedOrRunning()) {
timer.start()
}
else if (node !== null && node.isFinishedOrRunning()) {
else if (node !== null && (node.isFinishedOrRunning() || node.globalStatus=="ERROR")) {
computationInfo.text = Format.getTimeStr(node.elapsedTime)
}
else {
@ -70,7 +70,7 @@ Panel {
font.italic: true
visible: {
if (node !== null) {
if ((node.isFinishedOrRunning() || node.isSubmittedOrRunning())) {
if (node.isFinishedOrRunning() || node.isSubmittedOrRunning() || node.globalStatus=="ERROR") {
return true
}
}