[fixes #1001] Set 'Separation' tab as first tab + use 'ignition of next stage' as default separation event
This commit is contained in:
parent
46b974cae7
commit
b857da940a
@ -94,7 +94,7 @@ public class StageSeparationConfiguration implements FlightConfigurableParameter
|
||||
private static final Translator trans = Application.getTranslator();
|
||||
|
||||
|
||||
private SeparationEvent separationEvent = SeparationEvent.NEVER;
|
||||
private SeparationEvent separationEvent = SeparationEvent.UPPER_IGNITION;
|
||||
private double separationDelay = 0;
|
||||
|
||||
public SeparationEvent getSeparationEvent() {
|
||||
|
@ -31,7 +31,8 @@ public class AxialStageConfig extends ComponentAssemblyConfig {
|
||||
if (component.getStageNumber() > 0) {
|
||||
JPanel tab = separationTab((AxialStage) component);
|
||||
tabbedPane.insertTab(trans.get("StageConfig.tab.Separation"), null, tab,
|
||||
trans.get("StageConfig.tab.Separation.ttip"), 2);
|
||||
trans.get("StageConfig.tab.Separation.ttip"), 0);
|
||||
tabbedPane.setSelectedIndex(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user