Fixed progress bug

This commit is contained in:
n1474335 2023-02-27 15:52:05 +00:00
parent dd6eae52ef
commit 9e679f411c
1 changed files with 1 additions and 1 deletions

View File

@ -1217,7 +1217,7 @@ class OutputWaiter {
}
this.manager.tabs.updateTabHeader(inputNum, tabStr, "output");
if (this.manager.worker.recipeConfig !== undefined) {
this.manager.tabs.updateTabProgress(inputNum, this.outputs[inputNum].progress, this.manager.worker.recipeConfig.length, "output");
this.manager.tabs.updateTabProgress(inputNum, this.outputs[inputNum]?.progress, this.manager.worker.recipeConfig.length, "output");
}
const tabItem = this.manager.tabs.getTabItem(inputNum, "output");