mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
Fix NPE in TypeInferenceView
This commit is contained in:
parent
3a0ee669d4
commit
5a1aaa8408
@ -185,6 +185,7 @@ public class TypeInferenceView extends VerticalLayout
|
|||||||
content.removeAll();
|
content.removeAll();
|
||||||
lc = new LatexCreator(typeInferer,
|
lc = new LatexCreator(typeInferer,
|
||||||
error -> getTranslation("root." + error.toString().toLowerCase(Locale.ENGLISH)));
|
error -> getTranslation("root." + error.toString().toLowerCase(Locale.ENGLISH)));
|
||||||
|
treeNumbers = lc.getTreeNumbers();
|
||||||
setContent();
|
setContent();
|
||||||
refreshElements();
|
refreshElements();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user