Skip to content
Snippets Groups Projects
Commit 49c5cc3c authored by tjc's avatar tjc
Browse files

fix key list

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10950 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 5351542b
No related branches found
No related tags found
No related merge requests found
...@@ -147,8 +147,8 @@ public class DatabaseEntryFilterPanel extends JPanel ...@@ -147,8 +147,8 @@ public class DatabaseEntryFilterPanel extends JPanel
for(int i=0; i<thiskeyList.getItemCount(); i++) for(int i=0; i<thiskeyList.getItemCount(); i++)
if(thiskeyList.getItemAt(i).equals(keyChoice.getSelectedItem())) if(thiskeyList.getItemAt(i).equals(keyChoice.getSelectedItem()))
return; return;
thiskeyList.addItem(keyChoice.getSelectedItem()); thiskeyList.addItem(keyChoice.getSelectedItem().getKeyString());
thiskeyList.setSelectedItem(keyChoice.getSelectedItem()); thiskeyList.setSelectedItem(keyChoice.getSelectedItem().getKeyString());
} }
}); });
} }
......
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