Changeset 14229 for gli/trunk


Ignore:
Timestamp:
2007-07-09T10:44:43+12:00 (17 years ago)
Author:
xiao
Message:

modification in the LoadCollectionTask() to enable the menubar items after finishing loading a last-session collelction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java

    r14050 r14229  
    856856        loadCollectionInternal(collection_file_path);
    857857        load_collection_progress_popup.close();
     858      Gatherer.setMenuBarEnabled(true);
    858859    }
    859860    }
     
    10841085
    10851086
    1086     public void openCollectionFromLastTime()
    1087     {
    1088     // If there was an open collection last session, reopen it
    1089     if (Gatherer.open_collection_file_path != null) {
    1090         // Load the collection now
    1091         loadCollection(Gatherer.open_collection_file_path);
    1092     }
     1087    public void openCollectionFromLastTime() {
     1088      // If there was an open collection last session, reopen it
     1089      if (Gatherer.open_collection_file_path != null) {
     1090        // Load the collection now
     1091        loadCollection(Gatherer.open_collection_file_path);
     1092      }
     1093
    10931094    }
    10941095
Note: See TracChangeset for help on using the changeset viewer.