Skip to content

Commit cc9f4b5

Browse files
committed
address bug #244
1 parent ed0deeb commit cc9f4b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GSASII/GSASIIddataGUI.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,8 @@ def OnDataApplyStrain(event):
15221522
HAPBook.AddPage(HAPtab,phaseName)
15231523
DData.append(HAPtab)
15241524
HAPBook.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CHANGED, OnPageChanged)
1525+
# must setup all Phase tabs to get the DataMenu
1526+
G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.DataGeneral)
15251527
# set up "Select tab" menu contents
15261528
G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.DataMenu)
15271529
mid = G2frame.dataWindow.DataMenu.FindMenu('Select tab')

0 commit comments

Comments
 (0)