Ignore:
Timestamp:
2003-08-04T11:48:23+12:00 (21 years ago)
Author:
jmt12
Message:

Tried to standardize instruction text area to 6 lines tall

File:
1 edited

Legend:

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

    r5037 r5090  
    412412            setRoot(mgpp_element);
    413413        }
    414         // Unassign MG element
     414        // Unassign MG element and default index
    415415        mg_element.setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, CollectionConfiguration.FALSE_STR);
    416416        mg_element = null;
     417        default_index.setAssigned(false);
    417418        }
    418419        else {
     
    422423        mg_element.setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, CollectionConfiguration.TRUE_STR);
    423424        if(default_index != null) {
    424             default_index.getElement().setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, CollectionConfiguration.TRUE_STR);
     425            default_index.setAssigned(true);
    425426        }
    426427        // If mg element has no indexes, and the current mgpp index include a text one, then generate text indexes for each of the registered levels.
     
    602603        instructions.setEditable(false);
    603604        instructions.setLineWrap(true);
    604         instructions.setRows(5);
     605        instructions.setRows(6);
    605606        instructions.setWrapStyleWord(true);
    606607        level = new JComboBox();
     
    11811182        instructions_textarea.setEditable(false);
    11821183        instructions_textarea.setLineWrap(true);
    1183         instructions_textarea.setRows(5);
     1184        instructions_textarea.setRows(6);
    11841185        instructions_textarea.setWrapStyleWord(true);
    11851186
Note: See TracChangeset for help on using the changeset viewer.