From 7401546e66a2da2f687886aae099bf726383dd37 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 12 Mar 2018 12:18:40 +0000 Subject: [PATCH] JAL-2839 don't search minimised panels from Finder --- src/jalview/gui/Finder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Finder.java b/src/jalview/gui/Finder.java index a75c6ff..e5093d4 100755 --- a/src/jalview/gui/Finder.java +++ b/src/jalview/gui/Finder.java @@ -193,7 +193,8 @@ public class Finder extends GFinder for (int f = 0; f < frames.length; f++) { JInternalFrame alignFrame = frames[f]; - if (alignFrame != null && alignFrame instanceof AlignFrame) + if (alignFrame != null && alignFrame instanceof AlignFrame + && !alignFrame.isIcon()) { av = ((AlignFrame) alignFrame).viewport; ap = ((AlignFrame) alignFrame).alignPanel; -- 1.7.10.2