Changeset 24424 for main/trunk/gli
- Timestamp:
- 2011-08-18T18:06:42+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/gui/FormatPane.java
r18370 r24424 120 120 } 121 121 public static void setPreviewButton (boolean ready_to_preview) { 122 // if we're asked to enable the preview button, yet the collection is still 123 // unbuilt (as could happen when someone clicks on a format statement before 124 // building the collection), then shouldn't enable previewing. 125 if(ready_to_preview && !Gatherer.c_man.built()) { 126 ready_to_preview = false; 127 } 122 128 preview_button.setEnabled (ready_to_preview); 123 129 }
Note:
See TracChangeset
for help on using the changeset viewer.