From 1f4a20a53b80b7ea459bbecb59ac2c83beb68a60 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 23 May 2018 17:14:17 +0100 Subject: [PATCH] JAL-2993 AlignFrame listen for keystrokes in OverviewPanel --- src/jalview/gui/AlignFrame.java | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 1.7.10.2