Remove unneeded config update
Selected config is present in configset
This commit is contained in:
parent
cfb51d350a
commit
f1a98bc776
@ -514,7 +514,8 @@ public class Rocket extends ComponentAssembly {
|
|||||||
// Notify all components first
|
// Notify all components first
|
||||||
Iterator<RocketComponent> iterator = this.iterator(true);
|
Iterator<RocketComponent> iterator = this.iterator(true);
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
iterator.next().componentChanged(cce);
|
RocketComponent next = iterator.next();
|
||||||
|
next.componentChanged(cce);
|
||||||
}
|
}
|
||||||
|
|
||||||
notifyAllListeners(cce);
|
notifyAllListeners(cce);
|
||||||
@ -554,7 +555,6 @@ public class Rocket extends ComponentAssembly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateConfigurations(){
|
private void updateConfigurations(){
|
||||||
this.selectedConfiguration.update();
|
|
||||||
for( FlightConfiguration config : configSet ){
|
for( FlightConfiguration config : configSet ){
|
||||||
config.update();
|
config.update();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user