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:
5485778
)
JAL-2505 apply changed description to new, not deleted, feature!
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 Aug 2017 09:17:14 +0000
(10:17 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 Aug 2017 09:17:14 +0000
(10:17 +0100)
src/jalview/gui/FeatureRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureRenderer.java
b/src/jalview/gui/FeatureRenderer.java
index
4d82d7e
..
d580eaf
100644
(file)
--- a/
src/jalview/gui/FeatureRenderer.java
+++ b/
src/jalview/gui/FeatureRenderer.java
@@
-459,7
+459,7
@@
public class FeatureRenderer extends
sequences.get(0).deleteFeature(sf);
SequenceFeature newSf = new SequenceFeature(sf, enteredType,
newBegin, newEnd, enteredGroup, sf.getScore());
- sf.setDescription(enteredDescription);
+ newSf.setDescription(enteredDescription);
ffile.parseDescriptionHTML(newSf, false);
// amend features dialog only updates one sequence at a time
sequences.get(0).addSequenceFeature(newSf);