JAL-3253-applet adds NOMENUBAR, NOSTATUS, NOCALCULATION, SHOWOVERVIEW
[jalview.git] / src / jalview / gui / ComboBoxTooltipRenderer.java
index 684f965..a601ed6 100644 (file)
@@ -48,7 +48,8 @@ public class ComboBoxTooltipRenderer extends DefaultListCellRenderer
     JComponent comp = (JComponent) super.getListCellRendererComponent(list,
             value, index, isSelected, cellHasFocus);
 
-    if (-1 < index && null != value && null != tooltips)
+    // BH 2019.07.07 restricting this to mouse moves over the selected target
+    if (isSelected && -1 < index && null != value && null != tooltips)
     {
       list.setToolTipText(tooltips.get(index));
     }