git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
de75573
)
Merge branch 'develop' of https://source.jalview.org/git/jalview.git into develop
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 17 Jun 2015 07:50:13 +0000
(08:50 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 17 Jun 2015 07:50:13 +0000
(08:50 +0100)
src/jalview/gui/AppVarna.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AppVarna.java
b/src/jalview/gui/AppVarna.java
index
35cd3e5
..
5c3785a
100644
(file)
--- a/
src/jalview/gui/AppVarna.java
+++ b/
src/jalview/gui/AppVarna.java
@@
-463,14
+463,10
@@
public class AppVarna extends JInternalFrame implements
/*
* Deregister as a listener, to free references to this object
*/
- if (ap != null)
+ if (ssm != null)
{
- StructureSelectionManager ssm = ap.getStructureSelectionManager();
- if (ssm != null)
- {
- ssm.removeStructureViewerListener(AppVarna.this, null);
- ssm.removeSelectionListener(AppVarna.this);
- }
+ ssm.removeStructureViewerListener(AppVarna.this, null);
+ ssm.removeSelectionListener(AppVarna.this);
}
}