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:
f985659
)
check that we have mappings before trying to broadcast mouseovers involving them
author
jprocter
<Jim Procter>
Fri, 20 Aug 2010 12:31:33 +0000
(12:31 +0000)
committer
jprocter
<Jim Procter>
Fri, 20 Aug 2010 12:31:33 +0000
(12:31 +0000)
src/jalview/structure/StructureSelectionManager.java
patch
|
blob
|
history
diff --git
a/src/jalview/structure/StructureSelectionManager.java
b/src/jalview/structure/StructureSelectionManager.java
index
d2b336d
..
9797a20
100644
(file)
--- a/
src/jalview/structure/StructureSelectionManager.java
+++ b/
src/jalview/structure/StructureSelectionManager.java
@@
-343,7
+343,10
@@
public class StructureSelectionManager
if (listeners.elementAt(i) instanceof StructureListener)
{
sl = (StructureListener) listeners.elementAt(i);
-
+ if (mappings==null)
+ {
+ continue;
+ }
for (int j = 0; j < mappings.length; j++)
{
if (mappings[j].sequence == seq