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.EditAct.ttip.Edit = Edit the selected component.
|
||||||
RocketActions.NewStageAct.Newstage = New stage
|
RocketActions.NewStageAct.Newstage = New stage
|
||||||
RocketActions.NewStageAct.ttip.Newstage = Add a new stage to the rocket design.
|
RocketActions.NewStageAct.ttip.Newstage = Add a new stage to the rocket design.
|
||||||
RocketActions.ActBoosterstage = Booster stage
|
|
||||||
RocketActions.MoveUpAct.Moveup = Move up
|
RocketActions.MoveUpAct.Moveup = Move up
|
||||||
RocketActions.MoveUpAct.ttip.Moveup = Move this component upwards.
|
RocketActions.MoveUpAct.ttip.Moveup = Move this component upwards.
|
||||||
RocketActions.MoveDownAct.Movedown = Move down
|
RocketActions.MoveDownAct.Movedown = Move down
|
||||||
|
@ -619,8 +619,7 @@ public class RocketActions {
|
|||||||
ComponentConfigDialog.hideDialog();
|
ComponentConfigDialog.hideDialog();
|
||||||
|
|
||||||
RocketComponent stage = new AxialStage();
|
RocketComponent stage = new AxialStage();
|
||||||
//// Booster stage
|
|
||||||
stage.setName(trans.get("RocketActions.ActBoosterstage"));
|
|
||||||
//// Add stage
|
//// Add stage
|
||||||
document.addUndoPosition("Add stage");
|
document.addUndoPosition("Add stage");
|
||||||
rocket.addChild(stage);
|
rocket.addChild(stage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user