Use fireChangeEvent for toggling stages
This causes toggling stages to have an undo-action.
This commit is contained in:
parent
f1a98bc776
commit
ce0eeda72f
@ -225,8 +225,7 @@ public class FlightConfiguration implements FlightConfigurableParameter<FlightCo
|
||||
for (AxialStage stage : rocket.getStage(stageNumber).getSubStages()) {
|
||||
stages.get(stage.getStageNumber()).active = flags.active;
|
||||
}
|
||||
updateMotors();
|
||||
updateActiveInstances();
|
||||
fireChangeEvent();
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user