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:
8f5e471
)
JAL-2779 switch order for updating the current alignment frame reference in response...
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 18 Oct 2017 16:17:30 +0000
(17:17 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 18 Oct 2017 16:17:30 +0000
(17:17 +0100)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
ad80ca5
..
8ca22b5
100644
(file)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-868,6
+868,10
@@
public class Desktop extends jalview.jbgui.GDesktop
JInternalFrame itf = desktop.getSelectedFrame();
if (itf != null)
{
+ if (itf instanceof AlignFrame)
+ {
+ Jalview.setCurrentAlignFrame((AlignFrame) itf);
+ }
itf.requestFocus();
}
}
@@
-897,11
+901,8
@@
public class Desktop extends jalview.jbgui.GDesktop
JInternalFrame itf = desktop.getSelectedFrame();
if (itf != null)
{
- itf.requestFocus();
- if (itf instanceof AlignFrame)
- {
- Jalview.setCurrentAlignFrame((AlignFrame) itf);
- }
+ // itf.requestFocus();
+ //
}
System.gc();
};