greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16965

Show
Ignore:
Timestamp:
2008-08-22 13:03:13 (5 months 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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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    }