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<?>>();
Binary file not shown.
Binary file not shown.
+4
View File
@@ -2154,6 +2154,10 @@
<changeType>IMPROVEMENT</changeType>
<description>Render resistor color bands and capacitor polarity markings properly when zommed in</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Project font gets reverted to "Square721 BT" on Undo</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>