mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 04:12:15 +02:00
[ui] Timer not displayed on node not computable
This commit is contained in:
parent
9acc0a7492
commit
8935dedc34
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ Panel {
|
|||
headerBar: RowLayout {
|
||||
Label {
|
||||
id: computationInfo
|
||||
color: node ? Colors.statusColors[node.globalStatus] : palette.text
|
||||
color: node && node.isComputable ? Colors.statusColors[node.globalStatus] : palette.text
|
||||
Timer {
|
||||
id: timer
|
||||
interval: 2500
|
||||
|
@ -64,7 +64,7 @@ Panel {
|
|||
font.italic: true
|
||||
visible: {
|
||||
if (node !== null) {
|
||||
if (node.isFinishedOrRunning() || node.isSubmittedOrRunning() || node.globalStatus=="ERROR") {
|
||||
if (node.isComputable && (node.isFinishedOrRunning() || node.isSubmittedOrRunning() || node.globalStatus=="ERROR")) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue