git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removing debug comment
[jalview.git]
/
src
/
jalview
/
gui
/
ComboBoxTooltipRenderer.java
diff --git
a/src/jalview/gui/ComboBoxTooltipRenderer.java
b/src/jalview/gui/ComboBoxTooltipRenderer.java
index
684f965
..
a601ed6
100644
(file)
--- a/
src/jalview/gui/ComboBoxTooltipRenderer.java
+++ b/
src/jalview/gui/ComboBoxTooltipRenderer.java
@@
-48,7
+48,8
@@
public class ComboBoxTooltipRenderer extends DefaultListCellRenderer
JComponent comp = (JComponent) super.getListCellRendererComponent(list,
value, index, isSelected, cellHasFocus);
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));
}
{
list.setToolTipText(tooltips.get(index));
}