diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-26 15:59:39 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-26 15:59:39 +0000 |
| commit | d0b6e434d76cfea9e3096f0d50706c9a286a4b9d (patch) | |
| tree | eeb76b267bdfb08e328794679e713065dd6755b5 /sources/prefs/editors/VSEditor.java | |
| parent | 9ffbf6d8b94e8ae40ebc291eab6bd96aff3477b0 (diff) | |
VSPrefs sorted.
Diffstat (limited to 'sources/prefs/editors/VSEditor.java')
| -rw-r--r-- | sources/prefs/editors/VSEditor.java | 10 |
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; |
