From 5efab0937cae13d6f20ccfebc5112e76131f393d Mon Sep 17 00:00:00 2001 From: hcraigmiller <68821492+hcraigmiller@users.noreply.github.com> Date: Sun, 22 May 2022 23:33:15 -0700 Subject: [PATCH] Remove preset status upon change A change of the Cd value removes the preset status. --- core/src/net/sf/openrocket/rocketcomponent/RecoveryDevice.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/net/sf/openrocket/rocketcomponent/RecoveryDevice.java b/core/src/net/sf/openrocket/rocketcomponent/RecoveryDevice.java index b410c5f4e..99f4a2c86 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/RecoveryDevice.java +++ b/core/src/net/sf/openrocket/rocketcomponent/RecoveryDevice.java @@ -64,6 +64,7 @@ public abstract class RecoveryDevice extends MassObject implements FlightConfigu return; this.cd = cd; this.cdAutomatic = false; + clearPreset(); fireComponentChangeEvent(ComponentChangeEvent.AERODYNAMIC_CHANGE); }