From: jprocter Date: Fri, 14 May 2010 14:37:23 +0000 (+0000) Subject: partial patch for * JAL-466 X-Git-Tag: Release_2_5_1~40 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=9a99909f477d78eec2859852245bd1d3826a432b;p=jalview.git partial patch for * JAL-466 allows finder to be instantiated for an explicit alignment panel and viewport. --- 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 */