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
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,8 @@ public class Selector extends JFrame ...@@ -186,7 +186,8 @@ public class Selector extends JFrame
getContentPane().add(by_qualifier_panel); getContentPane().add(by_qualifier_panel);
boolean isGFF = false; boolean isGFF = false;
if(getEntryGroup().getDefaultEntry().getEMBLEntry() instanceof GFFDocumentEntry) if(getEntryGroup().getDefaultEntry() != null &&
getEntryGroup().getDefaultEntry().getEMBLEntry() instanceof GFFDocumentEntry)
isGFF = true; isGFF = true;
qualifier_selector = new QualifierChoice(default_entry_information, qualifier_selector = new QualifierChoice(default_entry_information,
key_selector.getSelectedItem(), key_selector.getSelectedItem(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment