summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSSimulationEditor.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-22 22:23:35 +0000
committerPaul Buetow <paul@buetow.org>2008-05-22 22:23:35 +0000
commitb88ec1d81dd650c702a662b46fc22b78578765d0 (patch)
tree9e576d1248eb670c727d05e211395f5decbcca5b /sources/prefs/editors/VSSimulationEditor.java
parentb761d274313c35205fec941d6d2d16d8de797a5c (diff)
run astyle.
Diffstat (limited to 'sources/prefs/editors/VSSimulationEditor.java')
-rw-r--r--sources/prefs/editors/VSSimulationEditor.java18
1 files changed, 9 insertions, 9 deletions
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);