From 9a99909f477d78eec2859852245bd1d3826a432b Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 14 May 2010 14:37:23 +0000 Subject: [PATCH] partial patch for * JAL-466 allows finder to be instantiated for an explicit alignment panel and viewport. --- src/jalview/gui/Finder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/Finder.java b/src/jalview/gui/Finder.java index 5aed688..762aab2 100755 --- a/src/jalview/gui/Finder.java +++ b/src/jalview/gui/Finder.java @@ -109,8 +109,9 @@ public class Finder extends GFinder private boolean focusfixed; /** - * checks that av and ap are valid, and if not, - * gets the topmost alignment window and sets av and ap accordingly + * if !focusfixed and not in a desktop environment, checks that av and ap are + * valid. Otherwise, gets the topmost alignment window and sets av and ap + * accordingly * * @return false if no alignment window was found */ -- 1.7.10.2