Project

General

Profile

Revision 1fb87aac

ID1fb87aacc756d0b39affca79005fb0340d83e3e1
Parent 2e93783e
Child d58179dd

Added by Patrick Plitzner over 1 year 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

Add picture from clipboard (Maximum size: 40 MB)