From 31a33833640b743a506f7801388b17f96e915ef3 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Mon, 24 Aug 2015 09:36:56 +0100 Subject: [PATCH] JAL-1834 removed quotes around truncated strings with ellipsis --- src/jalview/jbgui/GPDBSearchPanel.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/jbgui/GPDBSearchPanel.java b/src/jalview/jbgui/GPDBSearchPanel.java index 5a73b7c..f133a61 100644 --- a/src/jalview/jbgui/GPDBSearchPanel.java +++ b/src/jalview/jbgui/GPDBSearchPanel.java @@ -95,8 +95,9 @@ public abstract class GPDBSearchPanel extends JPanel } toolTipText = (toolTipText == null ? null : (toolTipText.length() > 500 ? JvSwingUtils.wrapTooltip( - true, "\"" + toolTipText.subSequence(0, 500) - + "...\"") : JvSwingUtils.wrapTooltip(true, + true, toolTipText.subSequence(0, 500) + + "...") + : JvSwingUtils.wrapTooltip(true, toolTipText))); return toolTipText; -- 1.7.10.2