Skip to content
Snippets Groups Projects
Commit 81f96944 authored by Petr Bainar's avatar Petr Bainar
Browse files

miscStuffExtended: extend usage of the filled flag

parent 0de46bea
No related branches found
No related tags found
1 merge request!31Misc stuff extended
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment