Changeset 7534


Ignore:
Timestamp:
2004-06-02T13:51:30+12:00 (20 years ago)
Author:
mdewsnip
Message:

The value trees are now refreshed correctly when the collection changes.

File:
1 edited

Legend:

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

    r7499 r7534  
    341341        Gatherer.c_man.getCollection().msm.removeMSMListener(this);
    342342        Gatherer.c_man.getCollection().msm.addMSMListener(this);
     343
     344        // Clear the currently selected metadata element in the table
     345        // This is important so the value tree is refreshed when the collection changes
     346        tree.setSelectedMetadataElement(null);
    343347    }
    344348    else {
Note: See TracChangeset for help on using the changeset viewer.