From b88ec1d81dd650c702a662b46fc22b78578765d0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 22 May 2008 22:23:35 +0000 Subject: run astyle. --- sources/prefs/editors/VSSimulationEditor.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sources/prefs/editors/VSSimulationEditor.java') 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); -- cgit v1.2.3