From: gmungoc Date: Mon, 12 Mar 2018 12:18:40 +0000 (+0000) Subject: JAL-2839 don't search minimised panels from Finder X-Git-Tag: Release_2_11_0~17^2~67^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7401546e66a2da2f687886aae099bf726383dd37;p=jalview.git JAL-2839 don't search minimised panels from Finder --- 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;