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.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java
index 934fa2e..fe69a77 100644
--- a/sources/prefs/editors/VSAbstractEditor.java
+++ b/sources/prefs/editors/VSAbstractEditor.java
@@ -10,7 +10,7 @@ import javax.swing.*;
import java.util.*;
import utils.*;
-import prefs.VSPrefs;
+import prefs.*;
// TODO: Auto-generated Javadoc
/**
@@ -317,14 +317,14 @@ public abstract class VSAbstractEditor implements ActionListener {
Integer integer = prefsToEdit.getInteger(key);
Integer initialSelection[] = { integer };
JComboBox valComboBox = new JComboBox(initialSelection);
- VSPrefs.VSPrefRestriction settingRestriction = prefsToEdit.getRestriction(fullKey);
+ VSPrefsRestriction settingRestriction = prefsToEdit.getRestriction(fullKey);
int minValue, maxValue;
if (settingRestriction != null) {
- VSPrefs.VSIntegerPrefRestriction integerVSPrefRestriction =
- (VSPrefs.VSIntegerPrefRestriction) settingRestriction;
- minValue = integerVSPrefRestriction.getMinValue();
- maxValue = integerVSPrefRestriction.getMaxValue();
+ VSPrefsRestriction.VSIntegerPrefRestriction integerVSPrefsRestriction =
+ (VSPrefsRestriction.VSIntegerPrefRestriction) settingRestriction;
+ minValue = integerVSPrefsRestriction.getMinValue();
+ maxValue = integerVSPrefsRestriction.getMaxValue();
} else {
minValue = 0;