diff --git a/core/src/net/sf/openrocket/rocketcomponent/Rocket.java b/core/src/net/sf/openrocket/rocketcomponent/Rocket.java index bcd9b3fb7..1f09b3aac 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/Rocket.java +++ b/core/src/net/sf/openrocket/rocketcomponent/Rocket.java @@ -566,9 +566,6 @@ public class Rocket extends RocketComponent { */ public FlightConfiguration getSelectedConfiguration() { checkState(); - if( this.selectedConfiguration == this.configSet.getDefault() ){ - selectedConfiguration = createFlightConfiguration(null); - } return selectedConfiguration; } @@ -591,8 +588,9 @@ public class Rocket extends RocketComponent { } /** - * Remove a flight configuration ID from the configuration IDs. The null - * ID cannot be removed, and an attempt to remove it will be silently ignored. + * Remove a flight configuration ID from the configuration IDs. The + * FlightConfigurationId.DEFAULT_VALUE_FCID ID cannot be removed, + * and an attempt to remove it will be silently ignored. * * @param fcid the flight configuration ID to remove */ @@ -604,7 +602,7 @@ public class Rocket extends RocketComponent { // Get current configuration: this.configSet.reset( fcid); - fireComponentChangeEvent(ComponentChangeEvent.BOTH_CHANGE); + fireComponentChangeEvent(ComponentChangeEvent.MASS_CHANGE); }