Skip to content
Snippets Groups Projects
Commit 69f18123 authored by tjc's avatar tjc
Browse files

fix for when there is no default entry

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@14095 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 5a6d33f2
Branches
Tags
No related merge requests found
......@@ -186,7 +186,8 @@ public class Selector extends JFrame
getContentPane().add(by_qualifier_panel);
boolean isGFF = false;
if(getEntryGroup().getDefaultEntry().getEMBLEntry() instanceof GFFDocumentEntry)
if(getEntryGroup().getDefaultEntry() != null &&
getEntryGroup().getDefaultEntry().getEMBLEntry() instanceof GFFDocumentEntry)
isGFF = true;
qualifier_selector = new QualifierChoice(default_entry_information,
key_selector.getSelectedItem(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment