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:
20249b2
)
JAL-48 patch NPE when encountering an alignment window on desktop which has not been...
author
jprocter
<jprocter@compbio.dundee.ac.uk>
Wed, 29 Aug 2012 14:56:05 +0000
(15:56 +0100)
committer
jprocter
<jprocter@compbio.dundee.ac.uk>
Wed, 29 Aug 2012 14:56:05 +0000
(15:56 +0100)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
a50e724
..
9818e6b
100755
(executable)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-880,7
+880,7
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
for (int i = 0; i < frames.length; i++)
{
if (frames[i] instanceof AlignFrame && frames[i] != this
- && ((AlignFrame) frames[i]).fileName.equals(fileName))
+ && ((AlignFrame) frames[i]).fileName!=null && ((AlignFrame) frames[i]).fileName.equals(fileName))
{
try
{