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
Replaced image
[jalview.git]
/
src
/
jalview
/
appletgui
/
APopupMenu.java
diff --git
a/src/jalview/appletgui/APopupMenu.java
b/src/jalview/appletgui/APopupMenu.java
index
28e40eb
..
be4a599
100755
(executable)
--- a/
src/jalview/appletgui/APopupMenu.java
+++ b/
src/jalview/appletgui/APopupMenu.java
@@
-113,6
+113,7
@@
public class APopupMenu
}
\r
else
\r
{
\r
}
\r
else
\r
{
\r
+ remove(hideSeqs);
\r
remove(groupMenu);
\r
}
\r
\r
remove(groupMenu);
\r
}
\r
\r
@@
-143,6
+144,7
@@
public class APopupMenu
else
\r
url = link.substring(link.lastIndexOf("|")+1);
\r
\r
else
\r
url = link.substring(link.lastIndexOf("|")+1);
\r
\r
+ System.out.println("add "+url +" "+target);
\r
item.addActionListener(new java.awt.event.ActionListener()
\r
{
\r
public void actionPerformed(ActionEvent e)
\r
item.addActionListener(new java.awt.event.ActionListener()
\r
{
\r
public void actionPerformed(ActionEvent e)
\r
@@
-152,7
+154,10
@@
public class APopupMenu
});
\r
linkMenu.add(item);
\r
}
\r
});
\r
linkMenu.add(item);
\r
}
\r
- seqMenu.add(linkMenu);
\r
+ if(seq!=null)
\r
+ seqMenu.add(linkMenu);
\r
+ else
\r
+ add(linkMenu);
\r
}
\r
if(seq!=null)
\r
{
\r
}
\r
if(seq!=null)
\r
{
\r