If the simulation runs correctly, then switch to plot view.
This commit is contained in:
parent
58e5874832
commit
a67bd1add6
@ -204,6 +204,9 @@ public class SimulationEditDialog extends JDialog {
|
||||
copyChangesToAllSims();
|
||||
SimulationRunDialog.runSimulations(parentWindow, SimulationEditDialog.this.document, simulation);
|
||||
refreshView();
|
||||
if (allowsPlotMode()) {
|
||||
setPlotMode();
|
||||
}
|
||||
}
|
||||
});
|
||||
simEditPanel.add(button, " align right, tag ok");
|
||||
@ -213,7 +216,7 @@ public class SimulationEditDialog extends JDialog {
|
||||
close.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
copyChangesToAllSims();
|
||||
copyChangesToAllSims();
|
||||
SimulationEditDialog.this.dispose();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user