Changeset 12829


Ignore:
Timestamp:
2006-09-22T10:23:05+12:00 (18 years ago)
Author:
kjdon
Message:

if trying to preselect a value in a metadata list, then we need to use getFullName not toSTring otherwise ids wont match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentControl.java

    r12825 r12829  
    478478        }
    479479        else if (object instanceof MetadataElement) {
    480         if(object.toString().equals(target)) {
     480        if(((MetadataElement)object).getFullName().equals(target)) {
    481481            combobox.setSelectedIndex(i);
    482482            return true;
Note: See TracChangeset for help on using the changeset viewer.