Skip to content
Snippets Groups Projects
Commit 2af8b392 authored by tjc's avatar tjc
Browse files

fix

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6876 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent a99cfd97
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/QualifierChoice.java,v 1.5 2007-07-09 12:17:23 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/QualifierChoice.java,v 1.6 2008-01-14 10:05:50 tjc Exp $
*/
package uk.ac.sanger.artemis.components;
......@@ -43,7 +43,7 @@ import javax.swing.JComboBox;
* key.
*
* @author Kim Rutherford
* @version $Id: QualifierChoice.java,v 1.5 2007-07-09 12:17:23 tjc Exp $
* @version $Id: QualifierChoice.java,v 1.6 2008-01-14 10:05:50 tjc Exp $
**/
public class QualifierChoice extends JComboBox
......@@ -179,7 +179,7 @@ public class QualifierChoice extends JComboBox
{
if (indexOf ("locus_tag") != -1)
setSelectedQualifierByName ("locus_tag");
else
else if( this.getModel().getSize() > 0)
setSelectedIndex (0);
}
}
......
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