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:
6d5977c
)
Check annotation is editable
author
amwaterhouse
<Andrew Waterhouse>
Tue, 3 Oct 2006 09:27:35 +0000
(09:27 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 3 Oct 2006 09:27:35 +0000
(09:27 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
497fc2a
..
fb48794
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-314,7
+314,7
@@
public class AnnotationPanel extends JPanel implements MouseListener,
}
\r
\r
\r
- if (SwingUtilities.isRightMouseButton(evt))
\r
+ if (SwingUtilities.isRightMouseButton(evt) && activeRow!=-1)
\r
{
\r
if (av.getColumnSelection() == null)
\r
{
\r