Changeset 8501


Ignore:
Timestamp:
2004-11-09T16:55:19+13:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed a bug with the value tree where the first node would be incorrectly highlighted when the last character in the value text field was the hierarchy character ('|').

File:
1 edited

Legend:

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

    r8367 r8501  
    10791079            for (int i = 0; i < tree_node.getChildCount(); i++) {
    10801080            MetadataValueTreeNode child_node = (MetadataValueTreeNode) tree_node.getChildAt(i);
    1081             if (child_node.getValue().startsWith(token)) {
     1081            if (child_node.getFullValue().startsWith(val)) {
    10821082                // The closest node has been found, so return its path
    10831083                return new TreePath(child_node.getPath());
Note: See TracChangeset for help on using the changeset viewer.