Changeset 13944


Ignore:
Timestamp:
2007-02-23T16:39:15+13:00 (17 years ago)
Author:
qq6
Message:

don't close the current collection if it will be deleted

File:
1 edited

Legend:

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

    r13823 r13944  
    190190        eap = null;
    191191    }
     192    else if (esrc == menu_bar.file_exit) {
     193        exit();
     194    }
    192195        else if (esrc == menu_bar.file_new) {
    193196        new NewCollectionTask().start();
     
    201204    else if (esrc == menu_bar.file_save) {
    202205        Gatherer.c_man.saveCollection();
    203     }
    204     else if (esrc == menu_bar.file_exit) {
    205         new ExitTask().start();
    206206    }
    207207
     
    746746        DeleteCollectionPrompt dc_prompt = new DeleteCollectionPrompt();
    747747        if (dc_prompt.display()) {
    748         closeCurrentCollection();
     748        //closeCurrentCollection();
    749749        }
    750750        dc_prompt.destroy();
    751751        dc_prompt = null;
    752     }
    753     }
    754 
    755 
    756     private class ExitTask
    757     extends Thread
    758     {
    759     public void run()
    760     {
    761         exit();
    762752    }
    763753    }
Note: See TracChangeset for help on using the changeset viewer.