Revision 21754 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/comboboxconfigurablelookup/JComboBoxConfigurableLookUp.java
JComboBoxConfigurableLookUp.java | ||
---|---|---|
715 | 715 |
} |
716 | 716 |
else { |
717 | 717 |
// Select now the first item or the previous selected |
718 |
switch (comboBoxReference.getModel().getSize()) {
|
|
718 |
switch (model.getData().size()) {
|
|
719 | 719 |
case 0: |
720 | 720 |
if (previousSelected == null) { |
721 | 721 |
if (c_model.getData().size() > 0) { |
Also available in: Unified diff