Commit 81f96944 authored by Petr Bainar's avatar Petr Bainar

miscStuffExtended: extend usage of the filled flag

parent 0de46bea
......@@ -137,14 +137,14 @@ public class SPIMPipelineProgressViewController extends BorderPane implements Cl
}
private synchronized void fillTable() {
if (closed) {
if (closed || filled) {
return;
}
final Optional<List<TaskComputation>> optional = getComputations(
observedList);
if (!optional.isPresent()) {
if (!optional.isPresent() || optional.get().size() < 1) {
return;
}
......@@ -167,8 +167,9 @@ public class SPIMPipelineProgressViewController extends BorderPane implements Cl
}
this.tasks.setItems(observedList);
filled = true;
});
filled = true;
}
private long computeTableColumnWidth(List<TaskComputation> computations) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment