Merge pull request #420 from teyrana/fix_new_stage
[fix][oneline] both Create Stage buttons now create stages with the same name
This commit is contained in:
commit
5fcd62dc84
@ -37,7 +37,6 @@ RocketActions.EditAct.Edit = Edit
|
||||
RocketActions.EditAct.ttip.Edit = Edit the selected component.
|
||||
RocketActions.NewStageAct.Newstage = New stage
|
||||
RocketActions.NewStageAct.ttip.Newstage = Add a new stage to the rocket design.
|
||||
RocketActions.ActBoosterstage = Booster stage
|
||||
RocketActions.MoveUpAct.Moveup = Move up
|
||||
RocketActions.MoveUpAct.ttip.Moveup = Move this component upwards.
|
||||
RocketActions.MoveDownAct.Movedown = Move down
|
||||
|
@ -619,8 +619,7 @@ public class RocketActions {
|
||||
ComponentConfigDialog.hideDialog();
|
||||
|
||||
RocketComponent stage = new AxialStage();
|
||||
//// Booster stage
|
||||
stage.setName(trans.get("RocketActions.ActBoosterstage"));
|
||||
|
||||
//// Add stage
|
||||
document.addUndoPosition("Add stage");
|
||||
rocket.addChild(stage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user