From 01cc2ef6f1206fc9839dae4888999f7c791898fd Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 20 Apr 2012 16:54:08 +0100 Subject: [PATCH] JAL-1064 - hack to create menu item label for each fetch from DB item (need to review this) --- src/jalview/gui/AlignFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index e1775d7..3ca7d05 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4960,7 +4960,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, { for (int i = 0; i < otherdb.length; i++) { - String dbname = sf.getSourceProxy(otherdb[i]).getDbName(); + String dbname = sf.getSourceProxy(otherdb[i]).get(0).getDbName(); if (mname == null) { mname = "from '" + dbname + "'"; -- 1.7.10.2