[Fix][Issue #295] Toggling (in)active stages will now trigger a change to the CG
- stage toggling was sending the wrong event type: updated to AERO | MASS | MOTOR change event.
This commit is contained in:
parent
3e869e015b
commit
c44f976a62
@ -81,7 +81,7 @@ public class StageSelector extends JPanel implements StateChangeListener {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
rocket.getSelectedConfiguration().toggleStage(stageNumber);
|
||||
rocket.fireComponentChangeEvent(ComponentChangeEvent.GRAPHIC_CHANGE);
|
||||
rocket.fireComponentChangeEvent(ComponentChangeEvent.AEROMASS_CHANGE | ComponentChangeEvent.MOTOR_CHANGE );
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user