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:
73b2853
)
Make sure link menu is displayed
author
amwaterhouse
<Andrew Waterhouse>
Wed, 9 Aug 2006 08:50:57 +0000
(08:50 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 9 Aug 2006 08:50:57 +0000
(08:50 +0000)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
803f41a
..
23d04b7
100755
(executable)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-353,7
+353,10
@@
public class PopupMenu extends JPopupMenu
\r
linkMenu.add(item);
\r
}
\r
- sequenceMenu.add(linkMenu);
\r
+ if(sequence!=null)
\r
+ sequenceMenu.add(linkMenu);
\r
+ else
\r
+ add(linkMenu);
\r
}
\r
}
\r
\r