diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-22 22:23:35 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-22 22:23:35 +0000 |
| commit | b88ec1d81dd650c702a662b46fc22b78578765d0 (patch) | |
| tree | 9e576d1248eb670c727d05e211395f5decbcca5b /sources/prefs/editors | |
| parent | b761d274313c35205fec941d6d2d16d8de797a5c (diff) | |
run astyle.
Diffstat (limited to 'sources/prefs/editors')
| -rw-r--r-- | sources/prefs/editors/VSEditorFrame.java | 2 | ||||
| -rw-r--r-- | sources/prefs/editors/VSSimulationEditor.java | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sources/prefs/editors/VSEditorFrame.java b/sources/prefs/editors/VSEditorFrame.java index 5cdecf1..a0a5be8 100644 --- a/sources/prefs/editors/VSEditorFrame.java +++ b/sources/prefs/editors/VSEditorFrame.java @@ -57,7 +57,7 @@ public class VSEditorFrame extends VSFrame implements ActionListener { dispose(); } else if (actionCommand.equals(prefs.getString("lang.cancel"))) { - editor.actionPerformed(e); + editor.actionPerformed(e); dispose(); } else { diff --git a/sources/prefs/editors/VSSimulationEditor.java b/sources/prefs/editors/VSSimulationEditor.java index e274c0b..538ba70 100644 --- a/sources/prefs/editors/VSSimulationEditor.java +++ b/sources/prefs/editors/VSSimulationEditor.java @@ -51,15 +51,15 @@ public class VSSimulationEditor extends VSBetterEditor { if (actionCommand.equals(prefs.getString("lang.takeover"))) { savePrefs(); - if (simulation != null) { - if (expertModeChanged()) - simulation.fireExpertModeChanged(); - simulation.updateFromPrefs(); - } + if (simulation != null) { + if (expertModeChanged()) + simulation.fireExpertModeChanged(); + simulation.updateFromPrefs(); + } } else if (actionCommand.equals(prefs.getString("lang.cancel"))) { - if (!dontStartNewSimulation) - simulatorFrame.dispose(); + if (!dontStartNewSimulation) + simulatorFrame.dispose(); } else if (actionCommand.equals(prefs.getString("lang.ok"))) { savePrefs(); @@ -69,8 +69,8 @@ public class VSSimulationEditor extends VSBetterEditor { } if (!dontStartNewSimulation) simulatorFrame.addSimulation(new VSSimulation(prefsToEdit, simulatorFrame)); - else if (simulation != null) - simulation.updateFromPrefs(); + else if (simulation != null) + simulation.updateFromPrefs(); } else { super.actionPerformed(e); |
