Changeset 19753

Show
Ignore:
Timestamp:
08.06.2009 13:21:24 (10 years ago)
Author:
kjdon
Message:

in processComplete, after OK from build, the preview_button was enabled, but the simple_preview_button wasn't. So have enabled both

Files:
1 modified

Legend:

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

    r19722 r19753  
    572572        build_button.setEnabled(true); 
    573573        cancel_button.setEnabled(false); 
    574         preview_button.setEnabled(true); 
     574        preview_button.setEnabled(Gatherer.c_man.built()); 
    575575        simple_build_button.setEnabled(true); 
    576576        simple_cancel_button.setEnabled(false); 
    577         //simple_preview_button.setEnabled(true); 
     577        simple_preview_button.setEnabled(Gatherer.c_man.built()); 
    578578        int status = event.getStatus(); 
    579579        document.setSpecialCharacter(OptionsPane.SUCCESSFUL);