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:
6a10271
)
JAL-3187 set initial state of checkbox from viewport
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 25 Jan 2019 10:54:38 +0000
(10:54 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 25 Jan 2019 10:54:38 +0000
(10:54 +0000)
src/jalview/gui/FeatureSettings.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureSettings.java
b/src/jalview/gui/FeatureSettings.java
index
9f7326f
..
5b49d6d
100644
(file)
--- a/
src/jalview/gui/FeatureSettings.java
+++ b/
src/jalview/gui/FeatureSettings.java
@@
-1266,6
+1266,7
@@
public class FeatureSettings extends JPanel
boolean nucleotide = af.getViewport().getAlignment().isNucleotide();
showComplement = new JCheckBox(
"Show " + (nucleotide ? "protein" : "CDS") + " features");
+ showComplement.setSelected(af.getViewport().isShowComplementFeatures());
showComplement.addActionListener(new ActionListener()
{
@Override