diff --git a/oppl2plugin/src/main/java/org/coode/patterns/protege/ui/PatternModelList.java b/oppl2plugin/src/main/java/org/coode/patterns/protege/ui/PatternModelList.java index 06ccde43..68701f47 100644 --- a/oppl2plugin/src/main/java/org/coode/patterns/protege/ui/PatternModelList.java +++ b/oppl2plugin/src/main/java/org/coode/patterns/protege/ui/PatternModelList.java @@ -272,7 +272,7 @@ public void setRootObject(PatternAnnotationContainer root) { @Override protected List getListItemButtons(MListItem item) { - List listItemButtons = super.getListItemButtons(item); + List listItemButtons = new ArrayList(super.getListItemButtons(item)); if (item instanceof PatternListItem) { final PatternModel patternModel = ((PatternListItem) item).getPatternModel(); if (!patternModel.isClassPattern()) {