From bccb3f12a82f40bea6836bd7dcb4b45abd45b0be Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 23 Jun 2015 13:26:11 +0100 Subject: [PATCH] JAL-1780 JAL-653 jim forgot to put the conditional action in! --- src/jalview/gui/CutAndPasteTransfer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")); -- 1.7.10.2