Project font gets reverted to "Square721 BT" on Undo

This commit is contained in:
Branislav Stojkovic
2019-01-10 11:26:34 +01:00
parent a6538947d0
commit 3379987a74
4 changed files with 7 additions and 2 deletions
@@ -286,11 +286,12 @@ public class Project implements Serializable {
project.setAuthor(this.getAuthor());
project.setDescription(this.getDescription());
project.setFileVersion(this.getFileVersion());
project.setGridSpacing(this.getGridSpacing());
project.setGridSpacing(this.getGridSpacing());
project.setHeight(this.getHeight());
project.setWidth(this.getWidth());
project.getLockedLayers().addAll(this.getLockedLayers());
project.getHiddenLayers().addAll(this.getHiddenLayers());
project.getHiddenLayers().addAll(this.getHiddenLayers());
project.setFont(this.getFont());
Map<IDIYComponent<?>, IDIYComponent<?>> cloneMap = new HashMap<IDIYComponent<?>, IDIYComponent<?>>();