Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)

This commit is contained in:
Bane Stojkovic
2022-11-19 12:28:53 +01:00
parent a4529c38a2
commit 03ab0f1d95
4 changed files with 21 additions and 6 deletions
@@ -299,7 +299,10 @@ public class InstantiationManager {
loadComponentShapeFromTemplate(component, template);
fillWithDefaultProperties(component, template);
if (model == null) {
// do not fill with defaults if creating by a model
fillWithDefaultProperties(component, template);
}
// Write to recent components
List<String> recentComponentTypes =
@@ -4177,5 +4177,21 @@
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
<org.diylc.appframework.update.Version>
<versionNumber>
<major>4</major>
<minor>34</minor>
<build>0</build>
</versionNumber>
<releaseDate>2022-11-16 00:00:00.000 CET</releaseDate>
<name></name>
<changes>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
</a>
</java.util.Arrays_-ArrayList>
-4
View File
@@ -123,8 +123,6 @@ PCB
PNP
Poles
Português
Primary Lead Spacing
Primary Leads
Rectangle
Rev log
S-G-D JFET
@@ -134,8 +132,6 @@ SPDT
SPDT (On/Off/On)
SPDT (On/On)
SPST
Secondary Lead Spacing
Secondary Leads
Shorting
Single - North
Single - South
Binary file not shown.