Changeset 4683


Ignore:
Timestamp:
2003-06-16T11:47:59+12:00 (21 years ago)
Author:
mdewsnip
Message:

Fixed a annoying bug where if the collection had just been saved, it couldn't be closed.

File:
1 edited

Legend:

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

    r4681 r4683  
    168168    }
    169169    else if(esrc == menu_bar.file_close) {
    170         if(!Gatherer.c_man.saved()) {
     170        // if(!Gatherer.c_man.saved()) {
    171171        cont = showSaveCollectionBox(true, false);
    172         }
     172        // }
    173173        if(cont) {
    174174        tab_pane.setSelectedComponent(collection_pane);
     
    190190    }
    191191    else if(esrc == menu_bar.file_open) {
    192         // if(!Gatherer.c_man.saved()) {
    193         // cont = showSaveCollectionBox(false, false);
    194         // }
    195         // if(cont) {
    196         //if(!
    197192        if (showLoadCollectionBox()) {
    198193        tab_pane.setSelectedComponent(collection_pane);
    199194        }
    200         //) {
    201         //collectionChanged(false);
    202         //}
    203         // }
    204195    }
    205196    else if(esrc == menu_bar.file_options) {
Note: See TracChangeset for help on using the changeset viewer.