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:
f5448ec
)
JAL-845 fix bug in 3-to-1 scaling of protein from cDNA
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 19 Mar 2015 12:59:07 +0000
(12:59 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 19 Mar 2015 12:59:07 +0000
(12:59 +0000)
src/jalview/gui/SplitFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SplitFrame.java
b/src/jalview/gui/SplitFrame.java
index
a29376e
..
6042efc
100644
(file)
--- a/
src/jalview/gui/SplitFrame.java
+++ b/
src/jalview/gui/SplitFrame.java
@@
-125,8
+125,9
@@
public class SplitFrame extends GSplitFrame implements SplitContainerI
if (protein != null && cdna != null)
{
ViewStyleI vs = cdna.getViewStyle();
- vs.setCharWidth(3 * vs.getCharWidth());
- protein.setViewStyle(vs);
+ ViewStyleI vs2 = protein.getViewStyle();
+ vs2.setCharWidth(3 * vs.getCharWidth());
+ protein.setViewStyle(vs2);
}
}
}