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
ensure all URL links on the features under the residue get an entry in the 'links...
[jalview.git]
/
src
/
jalview
/
appletgui
/
SeqPanel.java
diff --git
a/src/jalview/appletgui/SeqPanel.java
b/src/jalview/appletgui/SeqPanel.java
index
78fe40e
..
bf392e9
100755
(executable)
--- a/
src/jalview/appletgui/SeqPanel.java
+++ b/
src/jalview/appletgui/SeqPanel.java
@@
-1355,10
+1355,13
@@
public class SeqPanel extends Panel implements MouseMotionListener,
{
if (allFeatures[i].links != null)
{
{
if (allFeatures[i].links != null)
{
- links = new Vector();
+ if (links==null)
+ {
+ links = new Vector();
+ }
for (int j = 0; j < allFeatures[i].links.size(); j++)
{
for (int j = 0; j < allFeatures[i].links.size(); j++)
{
- links.addElement(allFeatures[i].links.elementAt(j));
+ links.addElement(allFeatures[i].links.elementAt(j));
}
}
}
}
}
}