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
JAL-1752 structure highlight scoped to only its mapped sequences
[jalview.git]
/
src
/
jalview
/
structure
/
StructureSelectionManager.java
diff --git
a/src/jalview/structure/StructureSelectionManager.java
b/src/jalview/structure/StructureSelectionManager.java
index
ef4a7a5
..
0253a7e
100644
(file)
--- a/
src/jalview/structure/StructureSelectionManager.java
+++ b/
src/jalview/structure/StructureSelectionManager.java
@@
-756,6
+756,10
@@
public class StructureSelectionManager
protected void highlightStructure(StructureListener sl, SequenceI seq,
int index)
{
+ if (!sl.isListeningFor(seq))
+ {
+ return;
+ }
int atomNo;
List<AtomSpec> atoms = new ArrayList<AtomSpec>();
for (StructureMapping sm : mappings)