JAL-1780 JAL-653 jim forgot to put the conditional action in! merge/develop_JAL-1780_JAL-653_JAL-1892
authorJim Procter <jprocter@issues.jalview.org>
Tue, 23 Jun 2015 12:26:11 +0000 (13:26 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 23 Jun 2015 12:26:11 +0000 (13:26 +0100)
src/jalview/gui/CutAndPasteTransfer.java

index b492ddf..7268ae5 100644 (file)
@@ -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"));