git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836c803
)
Keep record of last tooltip
author
amwaterhouse
<Andrew Waterhouse>
Thu, 10 May 2007 08:08:47 +0000
(08:08 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 10 May 2007 08:08:47 +0000
(08:08 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
aaad2ae
..
893ce2c
100755
(executable)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-771,11
+771,14
@@
public class SeqPanel
else
\r
{
\r
tooltipText.append("</html>");
\r
- setToolTipText(tooltipText.toString());
\r
+ if (lastTooltip == null || !lastTooltip.equals(tooltipText.toString()))
\r
+ setToolTipText(tooltipText.toString());
\r
+
\r
+ lastTooltip = tooltipText.toString();
\r
}
\r
- // else
\r
- // setToolTipText(null);
\r
+
\r
}
\r
+ String lastTooltip;
\r
\r
void setStatusMessage(SequenceI sequence, int res, int seq)
\r
{
\r