From: Jim Procter Date: Tue, 23 Jun 2015 12:26:11 +0000 (+0100) Subject: JAL-1780 JAL-653 jim forgot to put the conditional action in! X-Git-Tag: Release_2_10_0~296^2~137^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmerge%2Fdevelop_JAL-1780_JAL-653_JAL-1892;p=jalview.git JAL-1780 JAL-653 jim forgot to put the conditional action in! --- diff --git a/src/jalview/gui/CutAndPasteTransfer.java b/src/jalview/gui/CutAndPasteTransfer.java index b492ddf..7268ae5 100644 --- a/src/jalview/gui/CutAndPasteTransfer.java +++ b/src/jalview/gui/CutAndPasteTransfer.java @@ -83,9 +83,8 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer this.alignpanel = viewpanel; if (alignpanel != null) { - + this.viewport = alignpanel.getAlignViewport(); } - this.viewport = alignpanel.getAlignViewport(); if (viewport != null) { ok.setText(MessageManager.getString("action.add"));