From: gmungoc Date: Wed, 23 May 2018 16:14:17 +0000 (+0100) Subject: JAL-2993 AlignFrame listen for keystrokes in OverviewPanel X-Git-Tag: Release_2_10_5~71 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1f4a20a53b80b7ea459bbecb59ac2c83beb68a60;p=jalview.git JAL-2993 AlignFrame listen for keystrokes in OverviewPanel --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 9821e9e..a27b495 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -3259,6 +3259,10 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, alignPanel.setOverviewPanel(null); }; }); + if (getKeyListeners().length > 0) + { + frame.addKeyListener(getKeyListeners()[0]); + } alignPanel.setOverviewPanel(overview); }