git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6b9bd
)
JAL-2993 AlignFrame listen for keystrokes in OverviewPanel
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 23 May 2018 16:14:17 +0000
(17:14 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 23 May 2018 16:14:17 +0000
(17:14 +0100)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
9821e9e
..
a27b495
100644
(file)
--- 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);
}