Normand Briere
2019-09-30 3966454055db8e04700e881a091c2d33dcfda232
RandomEditor.java
....@@ -98,7 +98,9 @@
9898 //System.out.println(e);
9999 applySelf();
100100 //super.applySelf();
101
- objEditor.refreshContents();
101
+
102
+ Globals.lighttouched = true;
103
+ objEditor.refreshContents();
102104 //Refresh();
103105 }
104106 else
....@@ -136,9 +138,13 @@
136138 return objEditor;
137139 }
138140
139
- void refreshContents2()
141
+ void refreshContents()
140142 {
141
- objEditor.refreshContents();
143
+ itemField.setMinimum(0);
144
+ itemField.setMaximum(randomnode.Size() - 1);
145
+ itemField.setInteger(randomnode.rndIndex);
146
+
147
+ // objEditor.refreshContents();
142148 }
143149
144150 RandomNode randomnode;