JAL-3210 reverted (ignore previous commit)
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 5 Nov 2019 17:19:01 +0000 (17:19 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 5 Nov 2019 17:19:01 +0000 (17:19 +0000)
src/jalview/gui/Desktop.java

index ec6b795..6bb9b36 100644 (file)
@@ -367,16 +367,13 @@ public class Desktop extends jalview.jbgui.GDesktop
     }
     */
 
-    if (!Platform.isJS())
+    try
     {
-      try
-      {
-        APQHandlers.setAPQHandlers(this);
-      } catch (Throwable t)
-      {
-        System.out.println("Error setting APQHandlers: " + t.toString());
-        // t.printStackTrace();
-      }
+      APQHandlers.setAPQHandlers(this);
+    } catch (Throwable t)
+    {
+      System.out.println("Error setting APQHandlers: " + t.toString());
+      // t.printStackTrace();
     }
 
     addWindowListener(new WindowAdapter()