Changeset 8345
Legend:
- Unmodified
- Added
- Removed
-
trunk/greenstone3-extensions/vishnu/src/vishnu/testvis/visual/Vishnu.java
r8344 r8345 142 142 System.out.println("Requesting collection " + current_collection.name); 143 143 collCombo.setSelectedItem(current_collection); 144 if ( current_view != null) {144 if (viewCombo != null && current_view != null) { 145 145 viewCombo.setSelectedItem(current_view); 146 146 … … 325 325 326 326 String view1 = null; 327 if (viewCombo .isEnabled()) {327 if (viewCombo != null && viewCombo.isEnabled()) { 328 328 view1 = (String)viewCombo.getSelectedItem(); 329 329 } -
trunk/gsdl3/extensions/vishnu/src/vishnu/testvis/visual/Vishnu.java
r8344 r8345 142 142 System.out.println("Requesting collection " + current_collection.name); 143 143 collCombo.setSelectedItem(current_collection); 144 if ( current_view != null) {144 if (viewCombo != null && current_view != null) { 145 145 viewCombo.setSelectedItem(current_view); 146 146 … … 325 325 326 326 String view1 = null; 327 if (viewCombo .isEnabled()) {327 if (viewCombo != null && viewCombo.isEnabled()) { 328 328 view1 = (String)viewCombo.getSelectedItem(); 329 329 } -
trunk/gsdl3/packages/vishnu/src/vishnu/testvis/visual/Vishnu.java
r8344 r8345 142 142 System.out.println("Requesting collection " + current_collection.name); 143 143 collCombo.setSelectedItem(current_collection); 144 if ( current_view != null) {144 if (viewCombo != null && current_view != null) { 145 145 viewCombo.setSelectedItem(current_view); 146 146 … … 325 325 326 326 String view1 = null; 327 if (viewCombo .isEnabled()) {327 if (viewCombo != null && viewCombo.isEnabled()) { 328 328 view1 = (String)viewCombo.getSelectedItem(); 329 329 }
Note:
See TracChangeset
for help on using the changeset viewer.