summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSEditor.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-26 15:59:39 +0000
committerPaul Buetow <paul@buetow.org>2008-05-26 15:59:39 +0000
commitd0b6e434d76cfea9e3096f0d50706c9a286a4b9d (patch)
treeeeb76b267bdfb08e328794679e713065dd6755b5 /sources/prefs/editors/VSEditor.java
parent9ffbf6d8b94e8ae40ebc291eab6bd96aff3477b0 (diff)
VSPrefs sorted.
Diffstat (limited to 'sources/prefs/editors/VSEditor.java')
-rw-r--r--sources/prefs/editors/VSEditor.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/prefs/editors/VSEditor.java b/sources/prefs/editors/VSEditor.java
index 35bacea..13d1f02 100644
--- a/sources/prefs/editors/VSEditor.java
+++ b/sources/prefs/editors/VSEditor.java
@@ -309,14 +309,14 @@ public abstract class VSEditor implements ActionListener {
Integer integer = prefsToEdit.getInteger(key);
Integer initialSelection[] = { integer };
JComboBox valComboBox = new JComboBox(initialSelection);
- VSPrefs.SettingRestriction settingRestriction = prefsToEdit.getRestriction(fullKey);
+ VSPrefs.VSPrefRestriction settingRestriction = prefsToEdit.getRestriction(fullKey);
int minValue, maxValue;
if (settingRestriction != null) {
- VSPrefs.IntegerSettingRestriction integerSettingRestriction =
- (VSPrefs.IntegerSettingRestriction) settingRestriction;
- minValue = integerSettingRestriction.getMinValue();
- maxValue = integerSettingRestriction.getMaxValue();
+ VSPrefs.VSIntegerPrefRestriction integerVSPrefRestriction =
+ (VSPrefs.VSIntegerPrefRestriction) settingRestriction;
+ minValue = integerVSPrefRestriction.getMinValue();
+ maxValue = integerVSPrefRestriction.getMaxValue();
} else {
minValue = 0;