Changeset 4965 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jun 21, 2021 11:32:01 AM (5 months ago)
Author:
toby
Message:

start work on option to move Phase/Data? to 1st level in tree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4964 r4965  
    1277012770            G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.DataGeneral)
    1277112771            UpdateGeneral()
    12772         elif text == 'Data':
     12772        elif text == 'Data': # only when conf 'SeparateHistPhaseTreeItem' is False
    1277312773            G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.DataMenu)
    1277412774            G2plt.PlotSizeStrainPO(G2frame,data,hist='',Start=True)           
     
    1305613056    G2frame.phaseDisplay.AddPage(General,'General')
    1305713057    Pages.append('General')
    13058     DData = wx.ScrolledWindow(G2frame.phaseDisplay)
    13059     G2frame.phaseDisplay.AddPage(DData,'Data')
    13060     Pages.append('Data')
     13058    if not GSASIIpath.GetConfigValue('SeparateHistPhaseTreeItem',False):
     13059        DData = wx.ScrolledWindow(G2frame.phaseDisplay)
     13060        G2frame.phaseDisplay.AddPage(DData,'Data')
     13061        Pages.append('Data')
    1306113062    Atoms = G2G.GSGrid(G2frame.phaseDisplay)
    1306213063#    Atoms.SetScrollRate(0,0)
Note: See TracChangeset for help on using the changeset viewer.