summaryrefslogtreecommitdiff
path: root/sources/prefs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-06-14 01:30:24 +0000
committerPaul Buetow <paul@buetow.org>2008-06-14 01:30:24 +0000
commit02eb6a4ff881ad9878a1105c6737e1583c94ed7e (patch)
treee25aa5c104b90145be1b7550a3cea2a797ae5c0d /sources/prefs
parentfaaadb9c546e376dd8e8dd6553017d334aa0e0c4 (diff)
if creating a new simulator frame, it has no simulation loaded. you can either
create a new simulation or load an old one using the 'File' menu!
Diffstat (limited to 'sources/prefs')
-rw-r--r--sources/prefs/VSPrefs.java2
-rw-r--r--sources/prefs/editors/VSAbstractEditor.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index 413bc46..2861bfc 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -885,7 +885,7 @@ public class VSPrefs implements VSSerializable {
*/
public synchronized void initString(String key, String val) {
//if (!stringPrefs.containsKey(key))
- stringPrefs.put(key, val);
+ stringPrefs.put(key, val);
}
/**
diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java
index fe0e7e4..6640a07 100644
--- a/sources/prefs/editors/VSAbstractEditor.java
+++ b/sources/prefs/editors/VSAbstractEditor.java
@@ -233,7 +233,7 @@ public abstract class VSAbstractEditor implements ActionListener {
booleanKeys = filterKeys(prefsToEdit.getBooleanKeySet());
stringKeys = filterKeys(prefsToEdit.getStringKeySet());
- fillEditPanelFront(prefsToEdit);
+ fillEditPanelFront(prefsToEdit);
fillEditPanel(prefsToEdit);
}
@@ -544,7 +544,7 @@ public abstract class VSAbstractEditor implements ActionListener {
* @param prefsToEdit the prefs to edit
*/
protected void fillEditPanelFront(VSPrefs prefsToEdit) {
- }
+ }
/**
* Fills the edit panel.