Changeset 6665


Ignore:
Timestamp:
2004-01-30T09:50:10+13:00 (20 years ago)
Author:
jmt12
Message:

Forgot to check if there was a cdm loaded before asking if it could save -> NPE

File:
1 edited

Legend:

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

    r6662 r6665  
    540540    public void exit() {
    541541    // Tell everyone who cares that they are losing focus
    542     if(config_pane.canSave()) {
     542    if(!Gatherer.c_man.ready() || config_pane.canSave()) {
    543543        boolean cont = true;
    544544        if(Gatherer.c_man.ready() && !Gatherer.c_man.saved()) {
Note: See TracChangeset for help on using the changeset viewer.