From 29ac9aa26871544cbbd43f4ea313144a6bd8ae39 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 10 Aug 2017 10:17:14 +0100 Subject: [PATCH] JAL-2505 apply changed description to new, not deleted, feature! --- src/jalview/gui/FeatureRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/FeatureRenderer.java b/src/jalview/gui/FeatureRenderer.java index 4d82d7e..d580eaf 100644 --- 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); -- 1.7.10.2