summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSAbstractEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/prefs/editors/VSAbstractEditor.java')
-rw-r--r--sources/prefs/editors/VSAbstractEditor.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java
index fe69a77..06be310 100644
--- a/sources/prefs/editors/VSAbstractEditor.java
+++ b/sources/prefs/editors/VSAbstractEditor.java
@@ -588,7 +588,10 @@ public abstract class VSAbstractEditor implements ActionListener {
if (key.startsWith("process.")) {
if (!flag) {
flag = true;
- addSeparator(prefs.getString("lang.prefs.process"));
+ if (this instanceof VSProcessEditor)
+ addSeparator(prefs.getString("lang.prefs.process"));
+ else
+ addSeparator(prefs.getString("lang.prefs.process.defaults"));
}
addVariable(labels.get(fullKey), components.get(fullKey), prefsToEdit);
}
@@ -600,7 +603,10 @@ public abstract class VSAbstractEditor implements ActionListener {
if (key.startsWith("message.")) {
if (!flag) {
flag = true;
- addSeparator(prefs.getString("lang.prefs.message"));
+ if (this instanceof VSProcessEditor)
+ addSeparator(prefs.getString("lang.prefs.message"));
+ else
+ addSeparator(prefs.getString("lang.prefs.message.defaults"));
}
addVariable(labels.get(fullKey), components.get(fullKey), prefsToEdit);
}