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:
b6c6e3d
)
JAL-2036 rebuild menus for each panel before adding to splitframe
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 5 Oct 2016 20:49:04 +0000
(21:49 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 5 Oct 2016 20:49:14 +0000
(21:49 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
d24daa1
..
9a8e5f6
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-2544,6
+2544,8
@@
public class Jalview2XML
SplitFrame sf = createSplitFrame(dnaFrame, af);
addedToSplitFrames.add(dnaFrame);
addedToSplitFrames.add(af);
+ dnaFrame.setMenusForViewport();
+ af.setMenusForViewport();
if (af.viewport.isGatherViewsHere())
{
gatherTo.add(sf);
@@
-2565,6
+2567,7
@@
public class Jalview2XML
Viewport view = candidate.getKey();
Desktop.addInternalFrame(af, view.getTitle(), view.getWidth(),
view.getHeight());
+ af.setMenusForViewport();
System.err.println("Failed to restore view " + view.getTitle()
+ " to split frame");
}