Changeset 179 for trunk/loci/visbio/view


Ignore:
Timestamp:
02/21/05 13:48:49 (15 years ago)
Author:
curtis
Message:

Fix little combo box bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/ColorPane.java

    r155 r179  
    394394      } 
    395395      VisUtil.setDisplayDisabled(preview, false); 
    396       selector.setSelectedIndex(0); 
     396      if (selector.getItemCount() > 0) selector.setSelectedIndex(0); 
    397397    } 
    398398    ignore = false; 
Note: See TracChangeset for help on using the changeset viewer.