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
@@ -291,6 +291,7 @@ public class Project implements Serializable {
project.setWidth(this.getWidth()); project.setWidth(this.getWidth());
project.getLockedLayers().addAll(this.getLockedLayers()); 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<?>>(); 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> <changeType>IMPROVEMENT</changeType>
<description>Render resistor color bands and capacitor polarity markings properly when zommed in</description> <description>Render resistor color bands and capacitor polarity markings properly when zommed in</description>
</org.diylc.appframework.update.Change> </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> </changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url> <url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version> </org.diylc.appframework.update.Version>