Project

General

Profile

« Previous | Next » 

Revision 1fb87aac

Added by Patrick Plitzner about 4 years ago

ref #7998 Fix possible NPE

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/character/CharacterEditor.java
147 147
            @Override
148 148
            public void widgetSelected(SelectionEvent e) {
149 149
                vocabulary = TermVocabularySelectionDialog.select("Select vocabulary for characters", btnChooseVoc.getShell(), null);
150
                txtVocabulary.setText(vocabulary.getLabel());
150
                if(vocabulary!=null){
151
                    txtVocabulary.setText(vocabulary.getLabel());
152
                }
151 153
            }
152 154
        });
153 155

  

Also available in: Unified diff