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:
09ba3f2
)
JAL-244 noticed NPE exception was possible when visibility was adjusted in wrapped...
author
James Procter
<j.procter@dundee.ac.uk>
Tue, 31 Oct 2023 12:01:03 +0000
(12:01 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Tue, 31 Oct 2023 12:01:03 +0000
(12:01 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
a3f7e00
..
a0d70b4
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-1554,7
+1554,7
@@
public class AnnotationLabels extends JPanel
}
}
- if (!resizePanel && dragEvent != null && aa != null)
+ if (!resizePanel && dragEvent != null && aa != null && selectedRow>-1 && selectedRow<aa.length)
{
if (actuallyDraw && g != null)
{