diff --git a/src/main/java/edu/kit/typicalc/view/content/typeinferencecontent/ShareDialog.java b/src/main/java/edu/kit/typicalc/view/content/typeinferencecontent/ShareDialog.java index 84e566b..65a5ae4 100644 --- a/src/main/java/edu/kit/typicalc/view/content/typeinferencecontent/ShareDialog.java +++ b/src/main/java/edu/kit/typicalc/view/content/typeinferencecontent/ShareDialog.java @@ -67,6 +67,10 @@ public class ShareDialog extends Dialog implements LocaleChangeObserver { latexArea.setClassName(FIELD_CLASS); UI.getCurrent().getPage().executeJs("window.autoSelect($0)", FIELD_CLASS); + urlField.setReadOnly(true); + packageArea.setReadOnly(true); + latexArea.setReadOnly(true); + layout.add(urlField, packageArea, latexArea); add(headingLayout, layout);