[fixes #1038] Change title plot/export simulation window

This commit is contained in:
Sibo Van Gool 2021-09-29 00:26:13 +02:00
parent a513c676de
commit d2ccb186fd
2 changed files with 2 additions and 0 deletions

View File

@ -637,6 +637,7 @@ MotorPlot.txt.Delays = Delays:
MotorPlot.txt.Comment = Comment:\n
! Simulation plot panel
simplotpanel.title.Plotsim = Plot / export simulation
simplotpanel.lbl.Presetplotconf = Preset plot configurations:
simplotpanel.lbl.Xaxistype = X axis type:
simplotpanel.lbl.Unit = Unit:

View File

@ -81,6 +81,7 @@ public class SimulationEditDialog extends JDialog {
if (!allowsPlotMode()) {
return;
}
setTitle(trans.get("simplotpanel.title.Plotsim"));
CardLayout cl = (CardLayout) (cards.getLayout());
cl.show(cards, PLOTMODE);
cards.validate();