Changeset 5750


Ignore:
Timestamp:
2003-10-29T12:15:00+13:00 (21 years ago)
Author:
jmt12
Message:

Append should now be enabled even for uncommon metadata

File:
1 edited

Legend:

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

    r5717 r5750  
    665665        // Check if the text in the value field is the same as the metadata value
    666666        if (tree.getSelectedValue().equals(value_node.getFullPath(false))) {
    667         // Can't append or replace
    668         add.setEnabled(false);
    669         update.setEnabled(false);
     667           // Can't replace
     668           update.setEnabled(false);
     669           // Adding, however, is dependant on whether the metadata is common or uncommon. If the later then you can append so as to make it common.
     670           add.setEnabled(!model.isCommon(selected_metadata));
    670671        }
    671672        else {
Note: See TracChangeset for help on using the changeset viewer.