Changeset 16965


Ignore:
Timestamp:
08/22/08 13:03:13 (13 years ago)
Author:
ak19
Message:

Method store() now does a Configuration.save() for JTextFields as well. Previously it was only done for the DropDown control which is used for obtaining the gliserver.pl URL from the user.

File:
1 edited

Legend:

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

    r16338 r16965  
    8181        String value = ((JTextField)control).getText();
    8282        Configuration.setString(affected_property, true, value);
     83        Configuration.save(); // save it in case of a crash
    8384    }
    8485    else { // DropDown
    85         ((DropDown)control).saveProperties();
     86        ((DropDown)control).saveProperties(); // saves it already
    8687    }
    8788    }
Note: See TracChangeset for help on using the changeset viewer.