Ticket #2471: 2471-delete-page-template-exception.patch
File 2471-delete-page-template-exception.patch, 756 bytes (added by deni, 15 years ago) |
---|
-
src/main/java/org/sophie2/main/func/templates/actions/DeleteTemplateAction.java
### Eclipse Workspace Patch 1.0 #P org.sophie2.main.func.templates
40 40 41 41 @Override 42 42 public void performAuto() { 43 ResourceRefList templates = getChanger().getRaw( BookR4.KEY_FRAME_TEMPLATES);43 ResourceRefList templates = getChanger().getRaw(this.templateKey); 44 44 templates = templates.remove(this.templateRef); 45 45 getChanger().setRaw(this.templateKey, templates); 46 46 }