- Timestamp:
- 2003-05-27T17:08:59+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r4367 r4371 204 204 } 205 205 if(cont) { 206 try { 207 while(Gatherer.c_man.ready()) { 208 wait(10); 209 } 210 } 211 catch(Exception error) { 212 } 213 if(!showLoadCollectionBox()) { 214 collectionChanged(false); 215 } 206 //if(! 207 showLoadCollectionBox(); 208 //) { 209 //collectionChanged(false); 210 //} 216 211 } 217 212 } … … 618 613 // User can cancel action. 619 614 if(filename != null) { 615 // If there is already a collection open, close it. 616 if(Gatherer.c_man.ready()) { 617 Gatherer.c_man.closeCollection(); 618 // Wait until it is closed. 619 try { 620 while(Gatherer.c_man.ready()) { 621 wait(10); 622 } 623 } 624 catch(Exception error) { 625 } 626 } 620 627 result = Gatherer.c_man.loadCollection(filename); 621 628 } … … 706 713 //switch(result) { 707 714 //case SaveCollectionBox.SAVE_YES: 708 Gatherer.c_man.saveCollection( close_after, exit_after);715 Gatherer.c_man.saveCollection(false, exit_after); 709 716 //content_pane.paintImmediately(bounds); 710 717 return true;
Note:
See TracChangeset
for help on using the changeset viewer.