mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
fix bug with unification translation
This commit is contained in:
parent
0b780af138
commit
29caff2ead
@ -60,7 +60,7 @@ public class TypeInferenceView extends VerticalLayout
|
||||
|
||||
|
||||
private MathjaxUnification unification;
|
||||
private MathjaxProofTree tree;
|
||||
private MathjaxProofTree tree = null;
|
||||
private transient LatexCreator lc;
|
||||
private final transient TypeInfererInterface typeInferer;
|
||||
private final Div content;
|
||||
@ -109,7 +109,11 @@ public class TypeInferenceView extends VerticalLayout
|
||||
Div container = new Div();
|
||||
container.setId(CONTENT_ID2);
|
||||
unification = new MathjaxUnification(lc.getUnification());
|
||||
tree = new MathjaxProofTree(lc.getTree());
|
||||
|
||||
if (tree == null) {
|
||||
tree = new MathjaxProofTree(lc.getTree());
|
||||
}
|
||||
|
||||
Div treeDiv = new Div();
|
||||
treeDiv.setId(CONTENT_ID3);
|
||||
treeDiv.add(tree, button);
|
||||
|
Loading…
Reference in New Issue
Block a user