JAL-3774 combined changes from bug/JAL-3774_splitFrameFinder: i) fixed focus Finder...
[jalview.git] / src / jalview / gui / AlignFrame.java
index e886ad0..61ee231 100644 (file)
@@ -1079,9 +1079,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
         if (fileObject == null)
         {
 
-          DataSourceType protocol = HttpUtils.startsWithHttpOrHttps(fileName)
-                  ? DataSourceType.URL
-                  : DataSourceType.FILE;
+          DataSourceType protocol = HttpUtils.startsWithHttpOrHttps(
+                  fileName) ? DataSourceType.URL : DataSourceType.FILE;
           newframe = loader.LoadFileWaitTillLoaded(fileName, protocol,
                   currentFileFormat);
         }
@@ -2826,7 +2825,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   @Override
   public void findMenuItem_actionPerformed(ActionEvent e)
   {
-    new Finder(alignPanel);
+    new Finder(alignPanel, false, null);
   }
 
   /**