Changeset 13945
- Timestamp:
- 2007-02-23T16:44:52+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/DeleteCollectionPrompt.java
r13595 r13945 289 289 public void actionPerformed(ActionEvent event) 290 290 { 291 292 if (collection.getShortName().equals(CollectionManager.getLoadedCollectionName())) { 293 Gatherer.g_man.closeCurrentCollection(); 294 current_coll_deleted = true; 295 } 291 296 // Delete the selected collection. 292 297 if (Gatherer.c_man.deleteCollection(collection.getShortName())) { … … 294 299 Gatherer.g_man.refreshWorkspaceTree(WorkspaceTree.LIBRARY_CONTENTS_CHANGED); 295 300 296 if (collection.getShortName().equals(CollectionManager.getLoadedCollectionName())) {297 current_coll_deleted = true;298 }301 //if (collection.getShortName().equals(CollectionManager.getLoadedCollectionName())) { 302 // current_coll_deleted = true; 303 //} 299 304 list_model.removeElement(collection); 300 305
Note:
See TracChangeset
for help on using the changeset viewer.