mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)
This commit is contained in:
@@ -298,8 +298,11 @@ 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>
|
||||
|
||||
Reference in New Issue
Block a user