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:
1bcd37a
)
same overzeaolous logic (JAL-915)
author
jprocter
<jprocter@compbio.dundee.ac.uk>
Tue, 27 Sep 2011 10:40:30 +0000
(11:40 +0100)
committer
jprocter
<jprocter@compbio.dundee.ac.uk>
Tue, 27 Sep 2011 10:40:30 +0000
(11:40 +0100)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
da95ae0
..
1cc4cd7
100644
(file)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-445,7
+445,7
@@
public class PopupMenu extends JPopupMenu
structureMenu.setVisible(false);
}
- if (seq !=null && links != null && links.size() > 0)
+ if (links != null && links.size() > 0)
{
JMenu linkMenu = new JMenu("Link");
@@
-470,7
+470,7
@@
public class PopupMenu extends JPopupMenu
continue;
}
final String label = urlLink.getLabel();
- if (urlLink.isDynamic())
+ if (seq!=null && urlLink.isDynamic())
{
// collect matching db-refs