Changeset 11444


Ignore:
Timestamp:
2006-03-21T14:28:41+12:00 (18 years ago)
Author:
kjdon
Message:

check to see if there are elements in the set, if not, disable merge. this happens with exploding into the exp metadata set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/MetadataImportMappingPrompt.java

    r9855 r11444  
    174174
    175175        add_button.setEnabled(enable_add_button);
     176
     177        // are there any elements in the set? if not (e.g. with exp set),
     178        // disable merge
     179        if (metadata_elements.size()==0) {
     180        merge_button.setEnabled(false);
     181        }
    176182    }
    177183    }
Note: See TracChangeset for help on using the changeset viewer.